Loading...
Loading...
Coding
Build on basic JavaScript with 32 lessons about types, safe functions, structured data, and practical TypeScript projects.
Learn practical TypeScript foundations after basic JavaScript. Check types, handle missing values, and model everyday data.
Use basic type annotations and distinguish type checking from execution.
10 min
Let TypeScript infer a type and keep later assignments compatible.
10 min
Describe function parameters and return values.
10 min
Keep collections consistent and handle an array that may be empty.
10 min
Describe the shape of an object and reuse that description.
10 min
Check missing values instead of assuming that they exist.
10 min
Handle each allowed kind of value before using its specific operations.
10 min
Limit a value to a small set of meaningful choices.
10 min
Prevent accidental writes through a type and create updated copies.
10 min
Preserve the relationship between an input type and its result.
10 min
Use runtime checks before trusting data that comes from outside typed code.
10 min
Combine object types, arrays, functions, and runtime validation in a small project.
10 min