Mini Map
Search
⌘ K
Log In
Advanced TypeScript Masterclass
0%
1.
Strict types
Introduction
No Implicit `any`
Fixing `noImplicitAny` Errors
The `unknown` Type
Strict Null Checks
Optionality
Strict Property Initialization
Non-Null Assertion Operator
Exercise in Strictness
2.
Generics
Introduction
Function Types
Generic Functions
Generic Functions Example - Typing `reduce`
Generic Interfaces - OOP Perspective
Generic Interfaces - FP Perspective
Type Argument Constraints
Type Constructors
Type Argument Propagation
3.
Composing types
Introduction
Union and Intersection Types
Discriminated Union Types
Discriminated Unions in Practice
State Machines
Discriminated Unions vs Subtyping
4.
Advanced types
Introduction
Conditional Types Introduction
Built-in Conditional Types
The `infer` Keyword
Conditional Types Example - React Component Props
Mapped Types Introduction
Built-in Mapped Types
Type Guards
Custom Type Guards
Nominal Types
5.
TypeScript in practice
Introduction
Debugging Errors: Type Assignability
Debugging Errors: Narrowing Types
Debugging Errors: Unintuitive Error Message
React and TypeScript: `useState` Hook
React and TypeScript: `useReducer` Hook
RxJS and TypeScript: `pipe`
6.
Conclusion
Conclusion
Home
Courses
Advanced TypeScript Masterclass
Exercise in Strictness
We'll cover the following...
The code below compiles with the
strict
flag set to
false
. Adjust it
...