Skip to content

Commit ba3d159

Browse files
fix: could not find declaration file (fixes #558) (#564)
1 parent 1c33515 commit ba3d159

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,13 @@
1111
"exports": {
1212
".": {
1313
"require": "./dist/index.js",
14-
"import": "./dist/index.mjs"
14+
"import": "./dist/index.mjs",
15+
"types": "./dist/index.d.ts"
1516
},
1617
"./*": {
1718
"require": "./dist/*.js",
18-
"import": "./dist/*.mjs"
19+
"import": "./dist/*.mjs",
20+
"types": "./dist/*.d.ts"
1921
}
2022
},
2123
"publishConfig": {

0 commit comments

Comments
 (0)