Skip to content

Commit ae8057e

Browse files
authored
Fix type exports
Correctly exporting types in package.json. See issue and solution here microsoft/TypeScript#52363 for reference.
1 parent 16caa1b commit ae8057e

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
@@ -23,7 +23,8 @@
2323
"exports": {
2424
".": {
2525
"require": "./dist/index.umd.cjs",
26-
"import": "./dist/index.mjs"
26+
"import": "./dist/index.mjs",
27+
"types": "./dist/types/index.d.ts"
2728
},
2829
"./src/*": "./src/*"
2930
},

0 commit comments

Comments
 (0)