Skip to content

Commit 8fe70f0

Browse files
committed
fix: type declarations don't work with "moduleResolution: node16"
1 parent 1876fe1 commit 8fe70f0

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
registry=https://registry.npmjs.org/

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@
2020
"exports": {
2121
".": {
2222
"import": "./dist/module.mjs",
23-
"require": "./dist/module.cjs"
23+
"require": "./dist/module.cjs",
24+
"types": "./dist/module.d.ts"
2425
}
2526
},
2627
"main": "./dist/module.cjs",

0 commit comments

Comments
 (0)