Skip to content

Commit a24396c

Browse files
authored
fix(pkg): move types above default (#131)
- otherwise it isn't detected and types only happen to work [due to a TS bug](https://github.com/arethetypeswrong/arethetypeswrong.github.io/blob/6ab2f0a7bf5ab4a64f57fe71df7f58506f227362/docs/problems/FallbackCondition.md)
1 parent 4410e49 commit a24396c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
"module": "./dist/index.mjs",
88
"types": "./dist/index.d.ts",
99
"exports": {
10+
"types": "./dist/index.d.ts",
1011
"require": "./dist/index.umd.min.js",
11-
"default": "./dist/index.mjs",
12-
"types": "./dist/index.d.ts"
12+
"default": "./dist/index.mjs"
1313
},
1414
"files": [
1515
"./src/",

0 commit comments

Comments
 (0)