2021-05-12 06:35:00 +00:00
|
|
|
declare module '*.svg' {
|
|
|
|
const content: any;
|
|
|
|
export default content;
|
|
|
|
}
|
|
|
|
|
|
|
|
declare module '*.png' {
|
|
|
|
const content: any;
|
|
|
|
export default content;
|
|
|
|
}
|
|
|
|
|
|
|
|
declare const __DEV__: boolean;
|
|
|
|
|
|
|
|
declare namespace NodeJS {
|
|
|
|
interface Global {
|
|
|
|
__DEV__: boolean;
|
2021-12-07 20:39:40 +00:00
|
|
|
/** this is required by codemirror/addon/lint/json-lint */
|
|
|
|
jsonlint: any;
|
|
|
|
/** this is required by codemirror/addon/lint/yaml-lint */
|
|
|
|
jsyaml: any;
|
2021-05-12 06:35:00 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
interface Window {
|
|
|
|
__REDUX_DEVTOOLS_EXTENSION_COMPOSE__: Function;
|
|
|
|
}
|
|
|
|
|
|
|
|
// needed for @hot-loader/react-dom in order for TypeScript to build
|
|
|
|
declare const __REACT_DEVTOOLS_GLOBAL_HOOK__: undefined | {
|
|
|
|
checkDCE: Function;
|
|
|
|
};
|