Skip to content

Commit

Permalink
fix: Add "types" to exports for TypeScript 4.7 (#946)
Browse files Browse the repository at this point in the history
  • Loading branch information
wereHamster committed Jun 13, 2022
1 parent 8571fe0 commit 85ce6b7
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": {
".": {
"import": "./dist/immer.esm.mjs",
"require": "./dist/index.js"
"require": "./dist/index.js",
"types": "./dist/immer.d.ts"
},
"./*": "./*"
},
Expand Down

0 comments on commit 85ce6b7

Please sign in to comment.