Explore Library
TypeScriptAdvanced Types

47 items

1

Narrowing, Utility Types & Type Guards

Slides / Video
2

Narrowing, Utility Types & Type Guards

Flashcard
3

Union, Intersection & Utility Types

Slides / Video
4

Union, Intersection & Utility Types

Flashcard
5

Higher-Order Type Manipulation Basics

Flashcard
6

Function Overloads

Flashcard
7

Structural Typing

Flashcard
8

Branded/Nominal Types

Flashcard
9

typeof Type Operator

Flashcard
10

Variance (Covariance/Contravariance)

Flashcard
11

The satisfies Operator

Flashcard
12

unique symbol Type

Flashcard
13

Type Widening and Narrowing

Flashcard
14

Type Compatibility and Assignability

Flashcard
15

Remapping Keys With as

Code Quiz
16

Variance: Covariance and Contravariance

Slides / Video
17

Mapped Types

Slides / Video
18

The infer Keyword Explained

Slides / Video
19

Conditional Types

Slides / Video
20

Indexed Access Types

Slides / Video
21

The keyof Type Operator

Slides / Video
22

The typeof Type Operator

Slides / Video
23

User-Defined Type Guards

Slides / Video
24

Type Guards and Narrowing

Slides / Video
25

Discriminated Unions

Slides / Video
26

Type Aliases in TypeScript

Slides / Video
27

Literal Types in TypeScript

Slides / Video
28

Intersection Types in TypeScript

Slides / Video
29

Union Types in TypeScript

Slides / Video
30

Branded Types via Intersection

Slides / Video
31

const Assertions in TypeScript

Slides / Video
32

Assertion Functions

Slides / Video
33

The unknown Type and Safe Narrowing

Slides / Video
34

The never Type in Advanced Contexts

Slides / Video
35

Distributive Conditional Types

Slides / Video
36

Recursive Types in TypeScript

Slides / Video
37

Advanced Utility Types

Slides / Video
38

TypeScript Utility Types Essentials

Slides / Video
39

Template Literal Types

Slides / Video
40

Key Remapping with as Clause

Slides / Video
41

Conditional Type Syntax

Code Quiz
42

Distributive Conditional Over Union

Code Quiz
43

Removing Optional Modifier

Code Quiz
44

Mapped Type Iteration

Code Quiz
45

Intrinsic String Manipulation Type

Code Quiz
46

Extracting Array Element Type

Code Quiz
47

Building Template Literal Types

Code Quiz
FlashcardIntermediate

Narrowing, Utility Types & Type Guards

An intro to how TypeScript narrows types and the tools that help it.

Question

What are narrowing, type guards, and utility types in TypeScript?

Click to reveal answer