redoc/custom.d.ts

28 lines
524 B
TypeScript
Raw Normal View History

/// <reference path="typings/styled-patch.d.ts" />
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;
2019-03-11 18:08:29 +03:00
declare var reactHotLoaderGlobal: any;
interface Element {
scrollIntoViewIfNeeded(centerIfNeeded?: boolean): void;
}
type GenericObject = Record<string, any>;