Skip to content

Commit 23fe548

Browse files
fix: list types first in package exports (#812)
Co-authored-by: aw17732 <timo.stroehlein@karcher.com> Co-authored-by: Anton Medvedev <anton@medv.io>
1 parent dfeb166 commit 23fe548

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -23,27 +23,27 @@
2323
},
2424
"exports": {
2525
".": {
26+
"types": "./build/index.d.ts",
2627
"import": "./build/index.js",
2728
"require": "./build/index.cjs",
28-
"types": "./build/index.d.ts",
2929
"default": "./build/index.js"
3030
},
3131
"./globals": {
32+
"types": "./build/globals.d.ts",
3233
"import": "./build/globals.js",
3334
"require": "./build/globals.cjs",
34-
"types": "./build/globals.d.ts",
3535
"default": "./build/globals.js"
3636
},
3737
"./cli": {
38+
"types": "./build/cli.d.ts",
3839
"import": "./build/cli.js",
3940
"require": "./build/cli.cjs",
40-
"types": "./build/cli.d.ts",
4141
"default": "./build/cli.js"
4242
},
4343
"./core": {
44+
"types": "./build/core.d.ts",
4445
"import": "./build/core.js",
4546
"require": "./build/core.cjs",
46-
"types": "./build/core.d.ts",
4747
"default": "./build/core.js"
4848
},
4949
"./package.json": "./package.json"

0 commit comments

Comments
 (0)