All ~200k movies are available for free
No upgrade needed

Intermediate Typescript v2 (Frontend Masters)

added

Course Details

Course Title....: Intermediate TypeScript, v2
Teacher.........: Mike North (Stripe)
Length..........: 5 hours, 3 minutes CC
Published.......: December 5, 2023
Learning Paths..: TypeScript / Angular
Topics..........: typescript
Course URL......: https://frontendmasters.com/courses/intermediate-typescript-v2/

Course Description

Dive deeper into TypeScript's powerful features, including handling of extreme types, nullish values, ES modules, and advanced generics. Learn about namespaces, classes, top and bottom types, and practical use of conditional and mapped types. Gain proficiency in integrating non-TypeScript files and mastering utility types for more expressive and safe TypeScript coding.
This course and others like it are available as part of our Frontend Masters video subscription.

Table of Contents

Introduction (17 minutes)
- Introduction
- Course Overview
Declaration Merging (26 minutes)
- Identifiers
- Namespaces
- Classes
Top & Bottom Types (40 minutes)
- Top Types
- Practical Uses of Top Types
- object & Empty Objects
- Bottom Types
- Unit Types
Nullish Values (30 minutes)
- null & Non-null Assertion
- Definite Assignment Assertion
- Optional Chaining & Nullish Coalescing
Modules & CJS Interop (48 minutes)
- Modules & CJS Interop Overview
- ES Module Imports & Exports
- CommonJS Interop
- Native ES Modules
- Importing Non-TypeScript Files
Generics Scopes and Constraints (27 minutes)
- Generic Constraints
- satisfies
- Scopes and TypeParams
Conditional & Mapped Types (1 hour, 15 minutes)
- Ternary Operators & Expressing Conditions
- Utility Types
- Inference with Conditional Types
- infer Constraints
- Utility Types Using infer
- Record & Pick
- Mapping Modifiers & Template Literal Types
- Filtering Properties
Variance Over Type Params (33 minutes)
- Type Registry Exercise
- Variance over type Params
- Invariance & Bivariance
Wrapping Up (1 minute)
- Wrapping Up