TypeScript 5+ Fundamentals, v4
With each passing year TypeScript grows in popularity, and it's no surprise why. Adding static types to JavaScript apps not only helps catch more bugs at compile time, it's foundational to a rich and productive code authoring experience. With more information at your fingertips (thanks to types), you'll learn more about the libraries you depend you'll be able to formalize and enforce contracts between various parts of your own code, and you'll be able to perform safe refactoring operations in vscode with a few easy clicks.
In this advanced workshop, we'll start from "hello world" and incrementally build up an in-depth understanding of how TypeScript understands your code. Then, we'll put your new mental model to work, by getting hands-on experience using interfaces, classes, generics and more!
More
- Create a rock-solid mental model for how TypeScript "thinks" about your code, and use that knowledge to be maximally productive with minimal effort
- Solve hands-on challenges, designed to take you straight to the core ideas and aha! moments that unlock a true understanding of this language
- Learn how to avoid 3 common temptations that can erode the type safety of your codebase
- Practice using a decision-making framework for which language feature to use and when (e.g., interface vs. abstract class? constants vs. enums?)
- Inoculate yourself against TS configuration madness, by focusing on the 8 options that matter most
Watch Online TypeScript 5+ Fundamentals, v4
# | Title | Duration |
---|---|---|
1 | Introduction | 14:53 |
2 | Workshop Setup | 05:31 |
3 | Compiling TypeScript with TSC | 11:45 |
4 | Variable Declarations & Inference | 14:07 |
5 | Any & Type Casting | 03:58 |
6 | Functions & Return Types | 08:02 |
7 | Objects & Property Types | 12:42 |
8 | Index Signatures | 08:08 |
9 | Array Types, Tuples & readonly | 10:13 |
10 | Structural vs Nominal Typing | 12:27 |
11 | Conceptualizing Union & Intersection Types | 06:35 |
12 | Union Types | 08:07 |
13 | Union Type Control Flow | 13:48 |
14 | Intersection Types | 04:28 |
15 | Type Alias | 08:00 |
16 | Interface extends & implements | 19:36 |
17 | Open Interfaces | 09:39 |
18 | Recursive Types | 03:09 |
19 | JSON Type Exercise | 05:37 |
20 | Type Queries | 13:52 |
21 | Type Registry Pattern | 09:23 |
22 | Callables | 06:07 |
23 | void Type | 06:28 |
24 | Constructables & Function Overloads | 10:25 |
25 | this Types | 08:15 |
26 | Explicit Function Return Types | 03:34 |
27 | Class Fields & Methods | 10:00 |
28 | Access Modifiers | 17:54 |
29 | Param Properties & Overrides | 08:57 |
30 | Type Guards | 15:06 |
31 | When to Use Generics | 11:30 |
32 | Generics Best Practices | 04:51 |
33 | Dictionary Exercise | 02:32 |
34 | Wrapping Up | 03:17 |