Skip to content

Commit

Permalink
Merge pull request #285 from noelforte/master
Browse files Browse the repository at this point in the history
fix(types): add exports to package.json
  • Loading branch information
maltsev committed May 10, 2024
2 parents 249b2a4 + 6e3912c commit 96ed9d7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,16 @@
"source": "index.mjs",
"exports": {
".": {
"types": "./index.d.ts",
"require": "./index.cjs",
"import": "./index.mjs"
},
"./index.mjs": {
"types": "./index.d.mts",
"import": "./index.mjs"
},
"./index.cjs": {
"types": "./index.d.cts",
"require": "./index.cjs"
}
},
Expand Down

0 comments on commit 96ed9d7

Please sign in to comment.