2017-10-12 00:01:37 +03:00
|
|
|
declare module '*.json' {
|
|
|
|
const content: any;
|
|
|
|
export = content;
|
|
|
|
}
|
|
|
|
|
|
|
|
declare module '*.svg' {
|
2016-08-23 01:17:16 +03:00
|
|
|
const content: string;
|
|
|
|
export default content;
|
|
|
|
}
|
2016-08-28 21:46:10 +03:00
|
|
|
|
2017-10-12 00:01:37 +03:00
|
|
|
declare module '*.css' {
|
2017-03-09 20:56:50 +03:00
|
|
|
const content: string;
|
|
|
|
export default content;
|
|
|
|
}
|
|
|
|
|
2017-11-22 14:02:15 +03:00
|
|
|
declare var __REDOC_VERSION__: string;
|
|
|
|
declare var __REDOC_REVISION__: string;
|
2016-09-02 23:24:51 +03:00
|
|
|
|
2017-10-12 00:01:37 +03:00
|
|
|
declare type Dict<T> = {
|
|
|
|
[key: string]: T;
|
|
|
|
};
|
2018-03-14 13:55:52 +03:00
|
|
|
|
|
|
|
interface Element {
|
|
|
|
scrollIntoViewIfNeeded(centerIfNeeded?: boolean): void;
|
|
|
|
}
|