Setup, compiler and strictness
Configure TypeScript correctly and understand what the compiler does and does not do.
- TS.01.01What the compiler does: types are erasedCoreJuniorBeing written
- TS.01.02tsconfig and the strict familyCoreJuniorBeing written
- TS.01.03any, unknown, never and voidCoreJuniorBeing written
Interview questions in this module
- Does TypeScript check types at runtime? How do you validate data at runtime?
- What does
strict: trueturn on? - What is the difference between
any,unknownandnever? - What does
noUncheckedIndexedAccesschange? - What is structural typing? How is it different from nominal typing?