Skip to content

Commit 1bc2055

Browse files
committed
fix: add type definitions and module exports
1 parent af56aca commit 1bc2055

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@
55
"source": "src/index.ts",
66
"main": "lib/commonjs/index.js",
77
"module": "lib/module/index.js",
8-
"types": "src/index.d.ts",
8+
"types": "./src/index.d.ts",
99
"exports": {
1010
".": {
11+
"types": "./src/index.d.ts",
1112
"import": "./lib/module/index.js",
1213
"require": "./lib/commonjs/index.js"
1314
}

0 commit comments

Comments
 (0)