tsconfig and the strict family
Comes up in: Recruiter screen
This concept is being written. It gets the full five steps — explanation, predict, interview angle, practice with tests, and review cards. Here is exactly what it will cover, so you can study it elsewhere in the meantime.
What it covers
strictand what it enables (strictNullChecks,noImplicitAny,strictFunctionTypes,strictBindCallApply,useUnknownInCatchVariables…)noUncheckedIndexedAccessexactOptionalPropertyTypestarget,module,moduleResolution: bundler/nodenextverbatimModuleSyntax,isolatedModules- TS 7 defaults (strict on) — fact
Words you will know
What you will practise
- turn on strict in a JS-ish project and fix the errors
Interview questions this answers
- What does
strict: trueturn on? - What does
noUncheckedIndexedAccesschange?