redoc/custom.d.ts

26 lines
438 B
TypeScript
Raw Normal View History

2017-10-12 00:01:37 +03:00
declare module '*.json' {
const content: any;
export = content;
}
declare module '*.svg' {
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' {
const content: string;
export default content;
}
declare var __REDOC_VERSION__: string;
declare var __REDOC_REVISION__: string;
2017-10-12 00:01:37 +03:00
declare type Dict<T> = {
[key: string]: T;
};
interface Element {
scrollIntoViewIfNeeded(centerIfNeeded?: boolean): void;
}