Skip to content

Commit

Permalink
fix: type declarations don't work with "moduleResolution: node16"
Browse files Browse the repository at this point in the history
  • Loading branch information
rchl committed Sep 13, 2024
1 parent 1876fe1 commit 8fe70f0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
registry=https://registry.npmjs.org/
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
"exports": {
".": {
"import": "./dist/module.mjs",
"require": "./dist/module.cjs"
"require": "./dist/module.cjs",
"types": "./dist/module.d.ts"
}
},
"main": "./dist/module.cjs",
Expand Down

0 comments on commit 8fe70f0

Please sign in to comment.