Skip to content

Commit

Permalink
fix: Fix types for native TypeScript ESM
Browse files Browse the repository at this point in the history
  • Loading branch information
mskelton committed Nov 6, 2024
1 parent f566df5 commit 4c61256
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
File renamed without changes.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,18 @@
"node": ">=16.6.0"
},
"type": "commonjs",
"types": "./index.d.ts",
"types": "./index.d.mts",
"exports": {
".": {
"types": "./index.d.ts",
"types": "./index.d.mts",
"import": "./index.mjs",
"require": "./dist/index.js"
}
},
"files": [
"dist",
"index.mjs",
"index.d.ts"
"index.d.mts"
],
"scripts": {
"build": "tsup src/index.ts --format cjs --out-dir dist",
Expand Down

0 comments on commit 4c61256

Please sign in to comment.