Skip to content

Commit

Permalink
add "exports.types" for strict mode TS support (#95)
Browse files Browse the repository at this point in the history
  • Loading branch information
dilame authored Oct 29, 2022
1 parent 4abcb61 commit 318afd7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"exports": {
".": {
"require": "./index.js",
"import": "./index.mjs"
"import": "./index.mjs",
"types": "./index.d.ts"
},
"./*": "./*.js"
},
Expand Down

0 comments on commit 318afd7

Please sign in to comment.