We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8fb8793 + fad72c5 commit 2d426d7Copy full SHA for 2d426d7
README.md
@@ -18,8 +18,11 @@ typed-css-modules creates the following .d.ts files from the above css:
18
19
```ts
20
/* styles.css.d.ts */
21
-export const primary: string;
22
-export const myClass: string;
+declare const styles: {
+ readonly "primary": string;
23
+ readonly "myClass": string;
24
+};
25
+export = styles;
26
```
27
28
So, you can import CSS modules' class or variable into your TypeScript sources:
0 commit comments