mirror of
https://github.com/Redocly/redoc.git
synced 2024-09-21 03:08:48 +03:00
127ef260b9
This was declared in the local stubs file but not shipped, meaning that consumers with typescript libchecking enabled would have to also add the GenericObject definition to their local stubs file. This commit inlines the definition where necessary, or replaces it with object where appropriate.
26 lines
481 B
TypeScript
26 lines
481 B
TypeScript
/// <reference path="typings/styled-patch.d.ts" />
|
|
|
|
declare module '*.json' {
|
|
const content: any;
|
|
export = content;
|
|
}
|
|
|
|
declare module '*.svg' {
|
|
const content: string;
|
|
export default content;
|
|
}
|
|
|
|
declare module '*.css' {
|
|
const content: string;
|
|
export default content;
|
|
}
|
|
|
|
declare var __REDOC_VERSION__: string;
|
|
declare var __REDOC_REVISION__: string;
|
|
|
|
declare var reactHotLoaderGlobal: any;
|
|
|
|
interface Element {
|
|
scrollIntoViewIfNeeded(centerIfNeeded?: boolean): void;
|
|
}
|