mirror of
https://github.com/Redocly/redoc.git
synced 2024-12-01 21:03:45 +03:00
35418b1569
* chore: migrate from babel to esbuild loader * fix cypress tests
28 lines
524 B
TypeScript
28 lines
524 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;
|
|
}
|
|
|
|
type GenericObject = Record<string, any>;
|