TypeScript · Junior · Question 70 of 75
How do you check types in CI when a bundler (Vite, esbuild) already compiles TS without type checking?
- ✓Correct answer: Run
tsc --noEmitas a separate step - 2Bundlers always type-check
- 3Type checking isn't possible with bundlers
Explanation
Fast bundlers only strip types. A separate tsc run (or vue-tsc for Vue) catches type errors without producing files.