Skip to content

Commit 55666ec

Browse files
committed
feat(exports): update export paths for types
1 parent e0a908b commit 55666ec

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,10 @@
1717
],
1818
"exports": {
1919
".": {
20-
"types": "./dist/index.d.ts",
20+
"types": {
21+
"import": "./dist/index.d.mts",
22+
"require": "./dist/index.d.cts"
23+
},
2124
"import": "./dist/index.mjs",
2225
"require": "./dist/index.cjs"
2326
}

0 commit comments

Comments
 (0)