Skip to content

Commit 4fe5c7a

Browse files
authored
Support TS 4.7+ node16/next module mode (#164)
1 parent 47c534f commit 4fe5c7a

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
@@ -7,7 +7,8 @@
77
"type": "commonjs",
88
"exports": {
99
"require": "./build/index.js",
10-
"import": "./build/index.mjs"
10+
"import": "./build/index.mjs",
11+
"types": "./build/index.d.ts"
1112
},
1213
"scripts": {
1314
"build": "npm run build:clean && npm run compile && cp -R src/index.mjs src/vendor-typings build",

0 commit comments

Comments
 (0)