TypeScript · Senior · Question 19 of 75

What's the risk of enabling skipLibCheck: true?

Explanation

The flag skips checking declaration files - builds are faster and don't break because of conflicts between @types. But errors in declarations (including your own .d.ts) remain unnoticed. It doesn't prevent using library types.

Further reading

Problem with a question

TypeScript · Senior · question 19

Test yourself

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

Take this quiz