Skip to content

Commit

Permalink
fix: support TS resolution for .mjs (#296)
Browse files Browse the repository at this point in the history
See here for explanation of problem and solution:

https://stackoverflow.com/questions/72457791/typescript-packages-that-ship-with-mjs-and-d-ts-but-without-d-mts-how-to-i
Signed-off-by: Alex Regan <[email protected]>

Signed-off-by: Alex Regan <[email protected]>
  • Loading branch information
alexsasharegan authored Sep 27, 2022
1 parent 70a26d3 commit d70f911
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"exports": {
".": {
"require": "./index.js",
"types": "./index.d.ts",
"import": "./index.mjs"
},
"./aws": "./lib/aws/index.js",
Expand Down

0 comments on commit d70f911

Please sign in to comment.