Skip to content

Commit f86c9c3

Browse files
committed
fix: exports path of typings
1 parent 6e4daeb commit f86c9c3

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

package.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"*.d.ts"
2424
],
2525
"module": "dist/index.js",
26-
"types": "dist/index.d.ts",
26+
"types": "index.d.ts",
2727
"exports": {
2828
".": {
2929
"require": "./dist/node/index.cjs",
@@ -34,6 +34,14 @@
3434
},
3535
"./*": "./*"
3636
},
37+
"typesVersions": {
38+
"*": {
39+
"*": [
40+
"./dist/*",
41+
"./*"
42+
]
43+
}
44+
},
3745
"sideEffects": false,
3846
"scripts": {
3947
"dev": "tsx playground/main.ts",

0 commit comments

Comments
 (0)