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.
1 parent 159c880 commit 0112336Copy full SHA for 0112336
index.js
package.json
@@ -2,7 +2,8 @@
2
"name": "typed-css-modules",
3
"version": "0.4.2",
4
"description": "Creates .d.ts files from CSS Modules .css files",
5
- "main": "index.js",
+ "main": "lib/index.js",
6
+ "types": "lib/index.d.ts",
7
"scripts": {
8
"build": "tsc && chmod +x lib/cli.js",
9
"test": "jest",
src/index.ts
@@ -0,0 +1,2 @@
1
+import { DtsCreator } from './dtsCreator';
+export = DtsCreator;
tsconfig.json
@@ -2,6 +2,7 @@
"compilerOptions": {
"module": "commonjs",
"target": "es2015",
+ "declaration": true,
"sourceMap": false,
"strict": true,
"noImplicitAny": true,
0 commit comments