Skip to content

Commit 19fbe91

Browse files
committed
fix: exports types
1 parent fcc1815 commit 19fbe91

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

package.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,18 @@
2424
"exports": {
2525
".": {
2626
"require": "./build/index.js",
27-
"import": "./build/index.mjs"
27+
"import": "./build/index.mjs",
28+
"types": "./build/index.d.ts"
2829
},
2930
"./tsd": {
3031
"require": "./build/api/tsd/index.js",
31-
"import": "./build/api/tsd/index.mjs"
32+
"import": "./build/api/tsd/index.mjs",
33+
"types": "./build/api/tsd/index.d.ts"
3234
},
3335
"./tssert": {
3436
"require": "./build/api/tssert/index.js",
35-
"import": "./build/api/tssert/index.mjs"
37+
"import": "./build/api/tssert/index.mjs",
38+
"types": "./build/api/tssert/index.d.ts"
3639
}
3740
},
3841
"typesVersions": {

0 commit comments

Comments
 (0)