Skip to content
This repository has been archived by the owner on Apr 1, 2023. It is now read-only.

Commit

Permalink
chore(css module): add LESS SCSS definition for typescript (css module)
Browse files Browse the repository at this point in the history
  • Loading branch information
garryguzy committed Sep 20, 2020
1 parent 2a64ced commit 8962fa2
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion template/typescript/src/typings.d.ts
@@ -1,11 +1,19 @@
/**
* Default CSS definition for typescript,
* Default CSS LESS SCSS definition for typescript,
* will be overridden with file-specific definitions by rollup
*/
declare module '*.css' {
const content: { [className: string]: string };
export default content;
}
declare module '*.scss' {
const content: { [className: string]: string };
export default content;
}
declare module '*.less' {
const content: { [className: string]: string };
export default content;
}

interface SvgrComponent extends React.StatelessComponent<React.SVGAttributes<SVGElement>> {}

Expand Down

0 comments on commit 8962fa2

Please sign in to comment.