Skip to content

Commit 17715e0

Browse files
committed
export correct types, at top lvl and in require exports
1 parent a7886fc commit 17715e0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,18 @@
1111
"recursive",
1212
"native"
1313
],
14+
"bin": "./dist/cjs/src/bin.js",
1415
"main": "./dist/cjs/src/index-cjs.js",
1516
"module": "./dist/mjs/index.js",
16-
"bin": "./dist/cjs/src/bin.js",
17+
"types": "./dist/mjs/index.d.ts",
1718
"exports": {
1819
".": {
1920
"import": {
2021
"types": "./dist/mjs/index.d.ts",
2122
"default": "./dist/mjs/index.js"
2223
},
2324
"require": {
24-
"types": "./dist/cjs/src/index-cjs.d.ts",
25+
"types": "./dist/cjs/src/index.d.ts",
2526
"default": "./dist/cjs/src/index-cjs.js"
2627
}
2728
}

0 commit comments

Comments
 (0)