Skip to content

Commit

Permalink
[Backport 7.17] fix: add types to exports (v7.x) (#1930) (#1940)
Browse files Browse the repository at this point in the history
Co-authored-by: Nicolas Morel <[email protected]>
  • Loading branch information
JoshMock and Marsup committed Jul 13, 2023
1 parent cca9a7b commit 3f01faf
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 @@ -6,7 +6,8 @@
"exports": {
".": {
"require": "./index.js",
"import": "./index.mjs"
"import": "./index.mjs",
"types": "./index.d.ts"
},
"./*": "./*.js"
},
Expand Down

0 comments on commit 3f01faf

Please sign in to comment.