Skip to content

Commit

Permalink
fix: properly define the subpath ./types in exports (#517)
Browse files Browse the repository at this point in the history
* fix: correct `types` subexport

* Update package.json

---------

Co-authored-by: KnorpelSenf <[email protected]>
  • Loading branch information
Satont and KnorpelSenf authored Jan 1, 2024
1 parent 9c625cb commit 1d8b118
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 @@ -41,7 +41,8 @@
"default": "./out/web.mjs"
},
"./types": {
"types": "./out/types.d.ts"
"types": "./out/types.d.ts",
"default": "./out/types.js"
},
"./web": {
"types": "./out/web.d.ts",
Expand Down

0 comments on commit 1d8b118

Please sign in to comment.