TypeScript check fails: missing type definitions #36
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
Running
npm run tscfails with the following error:Root Cause
The
tsconfig.jsonreferences type definitions that are not installed in devDependencies:vite/clientvite-plugin-svgr/clientThese are listed in
compilerOptions.typesbut the packages@types/viteandvite-plugin-svgrare not inpackage.json.Reproduction
Expected
TypeScript check should pass (as documented in CLAUDE.md: "All tests and tsc must pass before committing").
Suggested Fix
Either:
Tests: pass (77/77)
Lint: passes
TypeScript: FAILS