insomnia/packages/insomnia-app/app/global.d.ts
Dimitri Mitropoulos 5f4c19da35
[TypeScript] Phase 1 & 2 (#3370)
Co-authored-by: Opender Singh <opender.singh@konghq.com>
2021-05-12 18:35:00 +12:00

27 lines
488 B
TypeScript

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;
}
}
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;
};