filmov
tv
Type-Safe TypeScript with Type Narrowing

Показать описание
This video shows common patterns to maximize TypeScript's potential for type-safe code. These techniques are all part of the same group, which we call type narrowing.
0:00 0. Introduction
1:48 1. Code Example
3:11 2. Equality Narrowing
4:25 3. typeof
6:37 4. Truthiness Narrowing
7:28 5. typeof (revisited)
9:25 6. instanceof
11:16 7. Discriminated Union
14:31 8. in
15:29 9. Type Predicate
24:14 10. Zod
26:16 11. Assertion Function
30:03 12. Summary
32:03 13. Farewell
0:00 0. Introduction
1:48 1. Code Example
3:11 2. Equality Narrowing
4:25 3. typeof
6:37 4. Truthiness Narrowing
7:28 5. typeof (revisited)
9:25 6. instanceof
11:16 7. Discriminated Union
14:31 8. in
15:29 9. Type Predicate
24:14 10. Zod
26:16 11. Assertion Function
30:03 12. Summary
32:03 13. Farewell
Type-Safe TypeScript with Type Narrowing
Type Widening and Type Narrowing in TypeScript
#32: Type Safety with Typeof Guards: Understanding Type Narrowing in TypeScript
Type Narrowing in typescript
What is 'Type Narrowing' in TypeScript?
Learn TypeScript: Type narrowing with Type Guards, Control flow and much more!
Understanding TypeScript Type Narrowing Using in
TypeScript Type Narrowing Simplified
Type Narrowing and Type Widening in TypeScript
Understanding TypeScript Type Inference: How to Manage Type Safety for Complex Types
TypeScript Narrowing: typeof type guards
Three Patterns for Type Safe Analytics using Typescript
Narrowing Types in TypeScript
#09 - Unions & Type Narrowing | TypeScript Tutorial
Typescript Type Narrowing: How to Iterate on Object Keys the Right Way
Typescript for Beginners - Type Narrowing Revisited - Lesson 34
Accomplishing Type Narrowing in TypeScript: How to Safely Render React Components
Typescript for Beginners - Type Narrowing - Lesson 17
Narrowing Down Types in Existing Classes with TypeScript
TypeScript Narrowing & Type Guards | Narrowing in TypeScript | Type Guards in TypeScript | Anagh...
Parameters - TypeScript Type Challenges #3312 [EASY]
Typescript Introduction Part #02 - Type Safety in Typescript
React Typescript 2023 - 9. Type Narrowing
Simplifying Type Narrowing in TypeScript Object Mappers
Комментарии