- TypeScript as a superset of JavaScript.
- Type Safety
- Maintainability
- Early Error Detection
- Explaining primitive types: number, string, boolean.
- Using type annotations to specify variable types.
- Demonstrate type inference.
- Introduction to type aliases for custom type names.
- Explaining union/intersection types for variables that can hold different types.
- Ways to define function
- Function Declaration
- Function Expression
- Arrow Function Expression
- Arrow Function Expression (Shorter Syntax for Single Expression)
- Method within an Object Literal
- Writing functions with explicit parameter types and return types.
- Optional and default parameters.
- Rest parameters and spread syntax.
- Async function
- Calculator function
- Write test helper