Skip to content

Commit

Permalink
Add types to exports/./import to support Typescript Node16 (#158)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasb authored Jun 1, 2022
1 parent b251dc0 commit 304c86d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@
"exports": {
".": [
{
"import": "./dist/index.esm.js",
"import": {
"types": "./index.d.ts",
"default": "./dist/index.esm.js"
},
"default": "./dist/index.cjs"
},
"./dist/index.cjs"
Expand Down

0 comments on commit 304c86d

Please sign in to comment.