Skip to content

Commit

Permalink
export correct types, at top lvl and in require exports
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacs committed Mar 5, 2023
1 parent a7886fc commit 17715e0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,18 @@
"recursive",
"native"
],
"bin": "./dist/cjs/src/bin.js",
"main": "./dist/cjs/src/index-cjs.js",
"module": "./dist/mjs/index.js",
"bin": "./dist/cjs/src/bin.js",
"types": "./dist/mjs/index.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/mjs/index.d.ts",
"default": "./dist/mjs/index.js"
},
"require": {
"types": "./dist/cjs/src/index-cjs.d.ts",
"types": "./dist/cjs/src/index.d.ts",
"default": "./dist/cjs/src/index-cjs.js"
}
}
Expand Down

0 comments on commit 17715e0

Please sign in to comment.