Skip to content

Commit 8cbd082

Browse files
Add "types" to "exports" (#1704)
For TypeScript compatibility with future esm support.
1 parent 5bddedf commit 8cbd082

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
"main": "./index.js",
4040
"exports": {
4141
".": {
42+
"types": "./typings/index.d.ts",
4243
"require": "./index.js",
4344
"import": "./esm.mjs"
4445
},

0 commit comments

Comments
 (0)