Skip to content

Commit be6fafc

Browse files
committed
fix: mark module.d.mts as type entrypoint
resolves #337
1 parent 974b2c5 commit be6fafc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"type": "module",
1111
"exports": {
1212
".": {
13-
"types": "./dist/types.d.ts",
13+
"types": "./dist/module.d.mts",
1414
"import": "./dist/module.mjs",
1515
"require": "./dist/module.cjs"
1616
},
@@ -21,7 +21,7 @@
2121
}
2222
},
2323
"main": "./dist/module.cjs",
24-
"types": "./dist/types.d.ts",
24+
"types": "./dist/module.d.mts",
2525
"files": [
2626
"dist",
2727
"utils.d.ts"

0 commit comments

Comments
 (0)