Skip to content

Commit

Permalink
fix: Add types exports for TypeScript (#463)
Browse files Browse the repository at this point in the history
  • Loading branch information
thibthib committed Apr 12, 2023
1 parent aa0a1d4 commit 6f6b0bc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions package.json
Expand Up @@ -25,11 +25,13 @@
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"node": "./dist/index.js",
"default": "./browser/index.js"
},
"./package.json": "./package.json",
"./util": {
"types": "./dist/util.d.ts",
"node": "./dist/util.js",
"default": "./browser/dist/util.js"
}
Expand Down

0 comments on commit 6f6b0bc

Please sign in to comment.