Skip to content

Commit aa87ce2

Browse files
committed
fix: make the typecheck script check something
The root tsconfig carries `files: []` and two project references, so `tsc --noEmit` against it resolved zero input files and reported success on any source at all. It now builds the referenced projects, which is what the build step already type-checks.
1 parent d5df0d6 commit aa87ce2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"test:coverage": "vitest --coverage",
1919
"format": "prettier --write .",
2020
"format:check": "prettier --check .",
21-
"typecheck": "tsc --noEmit",
21+
"typecheck": "tsc -b --emitDeclarationOnly false --noEmit",
2222
"prepare": "husky"
2323
},
2424
"lint-staged": {

0 commit comments

Comments
 (0)