Skip to content

Commit

Permalink
Fix typescript definitions under moduleResutions: node16 (#140)
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeWitchBella committed Aug 11, 2022
1 parent 80c12de commit a7512a7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions package.json
Expand Up @@ -12,6 +12,7 @@
},
"exports": {
".": {
"types": "./lib/index.d.ts",
"node": {
"import": "./esm/index.mjs",
"require": "./lib/node.cjs"
Expand All @@ -20,10 +21,12 @@
"require": "./lib/index.cjs"
},
"./node": {
"types": "./lib/index.d.ts",
"import": "./esm/index.mjs",
"require": "./lib/node.cjs"
},
"./browser": {
"types": "./lib/index.d.ts",
"import": "./esm/browser.js",
"require": "./lib/browser.cjs"
}
Expand Down

0 comments on commit a7512a7

Please sign in to comment.