Skip to content

Commit 142fe1b

Browse files
authored
Merge pull request #24 from Luke265/patch-1
Fix type export for cjs
2 parents c2e14b7 + 4a9629e commit 142fe1b

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
@@ -41,7 +41,8 @@
4141
},
4242
"exports": {
4343
"import": "./target/esm/main.mjs",
44-
"require": "./target/cjs/main.cjs"
44+
"require": "./target/cjs/main.cjs",
45+
"types": "./target/types/index.d.ts"
4546
},
4647
"files": [
4748
"/target",

0 commit comments

Comments
 (0)