Created
April 25, 2020 18:44
-
-
Save neo/1f395d4bbbab7aa63e80a58c79499834 to your computer and use it in GitHub Desktop.
CSS/SCSS module definition files for TypeScript
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
declare module "*.module.css" { | |
const classNameMap: { | |
[className: string]: string; | |
}; | |
export default classNameMap; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
declare module "*.module.scss" { | |
const classNameMap: { | |
[className: string]: string; | |
}; | |
export default classNameMap; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment