TypeScript · Junior · Question 70 of 75

How do you check types in CI when a bundler (Vite, esbuild) already compiles TS without type checking?

Explanation

Fast bundlers only strip types. A separate tsc run (or vue-tsc for Vue) catches type errors without producing files.

Further reading

Problem with a question

TypeScript · Junior · question 70

Test yourself

Take the TypeScript · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz