Skip to content

Instantly share code, notes, and snippets.

@BiosBoy
Created January 13, 2019 17:13
Show Gist options
  • Select an option

  • Save BiosBoy/e4ec11fc02b7421daadd70b1deee8ba2 to your computer and use it in GitHub Desktop.

Select an option

Save BiosBoy/e4ec11fc02b7421daadd70b1deee8ba2 to your computer and use it in GitHub Desktop.
interface Window {
__REDUX_DEVTOOLS_EXTENSION_COMPOSE__: any;
__REDUX_DEVTOOLS_EXTENSION__: any;
}
declare const __DEV__: string;
declare const __PROD__: string;
declare const __TEST__: string;
declare module '*.json' {
interface IClassNames {
[className: string]: string
}
const classNames: IClassNames;
export = classNames;
}
declare module '*.css' {
interface IClassNames {
[className: string]: string
}
const classNames: IClassNames;
export = classNames;
}
declare module '*.scss' {
interface IClassNames {
[className: string]: string
}
const classNames: IClassNames;
export = classNames;
}
declare module '*.cssmodule.scss' {
interface IClassNames {
[className: string]: string
}
const classNames: IClassNames;
export = classNames;
}
declare module '*.svg' {
interface IClassNames {
[className: string]: string
}
const classNames: IClassNames;
export = classNames;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment