Skip to content

Commit 72e5eea

Browse files
committed
Add types to the exports field of the package.json
1 parent 11b0119 commit 72e5eea

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
@@ -112,7 +112,8 @@
112112
"exports": {
113113
".": {
114114
"require": "./dist/cjs/index.js",
115-
"default": "./dist/esm/index.js"
115+
"default": "./dist/esm/index.js",
116+
"types": "./dist/types/index.d.ts"
116117
}
117118
},
118119
"lint-staged": {

0 commit comments

Comments
 (0)