Skip to content

Commit

Permalink
fix: add "types" export condition (#7)
Browse files Browse the repository at this point in the history
* fix: added types in exports

* fix: "types" must be first key

---------

Co-authored-by: Luke Edwards <[email protected]>
  • Loading branch information
ps73 and lukeed authored Mar 6, 2024
1 parent 8e1a0c4 commit ac560cf
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 @@ -15,6 +15,7 @@
},
"exports": {
".": {
"types": "./index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.js"
},
Expand Down

0 comments on commit ac560cf

Please sign in to comment.