Skip to content

Commit 4c61256

Browse files
committed
fix: Fix types for native TypeScript ESM
1 parent f566df5 commit 4c61256

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

index.d.ts index.d.mts

File renamed without changes.

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,18 @@
1616
"node": ">=16.6.0"
1717
},
1818
"type": "commonjs",
19-
"types": "./index.d.ts",
19+
"types": "./index.d.mts",
2020
"exports": {
2121
".": {
22-
"types": "./index.d.ts",
22+
"types": "./index.d.mts",
2323
"import": "./index.mjs",
2424
"require": "./dist/index.js"
2525
}
2626
},
2727
"files": [
2828
"dist",
2929
"index.mjs",
30-
"index.d.ts"
30+
"index.d.mts"
3131
],
3232
"scripts": {
3333
"build": "tsup src/index.ts --format cjs --out-dir dist",

0 commit comments

Comments
 (0)