Skip to content

Commit ab6e1dc

Browse files
authored
Added typescript types to package exports (#27)
1 parent 3322f7e commit ab6e1dc

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,10 @@
2525
"exports": {
2626
".": {
2727
"import": "./dist/index.mjs",
28-
"require": "./dist/index.cjs"
28+
"require": "./dist/index.cjs",
29+
"types": {
30+
"default": "./dist/index.d.ts"
31+
}
2932
}
3033
},
3134
"main": "./dist/index.cjs",

0 commit comments

Comments
 (0)