Skip to content

Instantly share code, notes, and snippets.

@tomoyat1
Created November 11, 2018 02:38
Show Gist options
  • Save tomoyat1/59486302362b70e96a54e2d8dd13737c to your computer and use it in GitHub Desktop.
Save tomoyat1/59486302362b70e96a54e2d8dd13737c to your computer and use it in GitHub Desktop.
CSS Modules with snake-case class names and their TypeScript .d.ts files
.camelCase {
color: red;
}
.snake-case {
color: blue;
}
export interface IStyles {
"camelCase": string;
"snake-case": string;
}
declare const styles: IStyles;
export default styles;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment