Skip to content

Commit 9be279c

Browse files
committed
[types] Elevate wildcard so VSCode suggestions are better
1 parent a1d589f commit 9be279c

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,14 @@
2222
"tinybase": "./bin/cli.js"
2323
},
2424
"exports": {
25+
".": {
26+
"types": "./lib/types/tinybase.d.ts",
27+
"default": "./lib/tinybase.js"
28+
},
29+
"./*": {
30+
"types": "./lib/types/*.d.ts",
31+
"default": "./lib/*.js"
32+
},
2533
"./package.json": "./package.json",
2634
"./cjs": "./lib/cjs/tinybase.cjs",
2735
"./cjs/with-schemas": "./lib/cjs/tinybase.cjs",
@@ -63,21 +71,13 @@
6371
"types": "./lib/types/*.d.ts",
6472
"default": "./lib/debug/*.js"
6573
},
66-
".": {
67-
"types": "./lib/types/tinybase.d.ts",
68-
"default": "./lib/tinybase.js"
69-
},
7074
"./with-schemas": {
7175
"types": "./lib/types/with-schemas/tinybase.d.ts",
7276
"default": "./lib/tinybase.js"
7377
},
7478
"./*/with-schemas": {
7579
"types": "./lib/types/with-schemas/*.d.ts",
7680
"default": "./lib/*.js"
77-
},
78-
"./*": {
79-
"types": "./lib/types/*.d.ts",
80-
"default": "./lib/*.js"
8181
}
8282
},
8383
"typesVersions": {

0 commit comments

Comments
 (0)