Skip to content

Commit a494d40

Browse files
committed
🚑 Type export for modern TS
Resolves ts(7016)
1 parent aa61e14 commit a494d40

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

‎package.json

+8-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,14 @@
77
"repository": "exah/ya-fetch",
88
"sideEffects": false,
99
"type": "module",
10-
"exports": "./esm/index.js",
11-
"types": "./types/index.d.ts",
10+
"exports": {
11+
".": {
12+
"import": {
13+
"default": "./esm/index.js",
14+
"types": "./types/index.d.ts"
15+
}
16+
}
17+
},
1218
"files": [
1319
"esm",
1420
"types"

0 commit comments

Comments
 (0)