TypeScriptUtility Types

81 items

1

Partial Update With Omit

Code Quiz
2

Choosing the Right Utility Type

Quiz
3

Utility Types, Enums & Strictness

Slides / Video
4

Utility Types, Enums & Strictness

Flashcard
5

Generics, Unions & Utility Types

Slides / Video
6

Generics, Unions & Utility Types

Flashcard
7

Building Custom Utility Types

Slides / Video
8

Exclude and Extract Distribute Over Unions

Slides / Video
9

Composing Multiple Utility Types

Slides / Video
10

Utility Types Built From Type Operators

Slides / Video
11

String Manipulation Utility Types

Slides / Video
12

Awaited<T> Unwraps Promise Types

Slides / Video
13

ThisParameterType and OmitThisParameter

Slides / Video
14

InstanceType<T> Extracts Instance Types

Slides / Video
15

ConstructorParameters<T> Extracts Constructor Args

Slides / Video
16

Parameters<T> Extracts Argument Types

Slides / Video
17

ReturnType<T> Extracts Return Types

Slides / Video
18

NonNullable<T> Strips Null and Undefined

Slides / Video
19

Extract<T, U> Keeps Matching Union Members

Slides / Video
20

Exclude<T, U> Removes Union Members

Slides / Video
21

Omit<T, K> Excludes Properties

Slides / Video
22

Pick<T, K> Selects a Subset

Slides / Video
23

Record<K, T> Maps Keys to Values

Slides / Video
24

Readonly<T> Locks Every Property

Slides / Video
25

Required<T> Makes Properties Required

Slides / Video
26

Partial<T> Makes Properties Optional

Slides / Video
27

Record with Union Keys

Code Quiz
28

Partial and Required Modifiers

Code Quiz
29

Record with literal key sets

Quiz
30

ConstructorParameters basics

Quiz
31

ThisType for contextual this

Quiz
32

Deep Partial and Readonly

Quiz
33

Pick/Omit with index signatures

Quiz
34

Composing utility types

Quiz
35

Utility types over unions

Quiz
36

ThisParameterType and OmitThisParameter

Quiz
37

Implementing utility types

Quiz
38

Omit vs Exclude semantics

Quiz
39

Homomorphic modifier preservation

Quiz
40

Lowercase for header names

Code Quiz
41

Utility types with generics

Code Quiz
42

Uppercase for HTTP methods

Code Quiz
43

Pick vs Omit with keyof

Code Quiz
44

ThisType for contextual this

Code Quiz
45

Capitalize a name literal

Code Quiz
46

Uncapitalize a class name

Code Quiz
47

Composing utility types

Code Quiz
48

Partial for update functions

Code Quiz
49

Pick with a non-existent key

Code Quiz
50

ThisParameterType needs a type

Code Quiz
51

ConstructorParameters needs the class type

Code Quiz
52

Readonly blocks property assignment

Code Quiz
53

Omit expects a union of keys

Code Quiz
54

Stripping the this parameter

Code Quiz
55

Required makes every property mandatory

Code Quiz
56

Building Custom Utility Types

Flashcard
57

Distributive Exclude and Extract

Flashcard
58

Mapped Types Behind Partial/Required/Readonly

Flashcard
59

OmitThisParameter<T>

Flashcard
60

Reshaping with Pick and Omit

Flashcard
61

Pick<T, K>

Flashcard
62

ConstructorParameters<T>

Flashcard
63

Exclude<T, U>

Flashcard
64

Extract<T, U>

Flashcard
65

Parameters<T>

Flashcard
66

ThisType<T>

Flashcard
67

Composing Utility Types

Flashcard
68

Record vs Index Signatures

Flashcard
69

ReturnType<T>

Flashcard
70

Omit<T, K>

Flashcard
71

Required<T>

Flashcard
72

Readonly<T>

Flashcard
73

Partial<T>

Flashcard
74

InstanceType<T>

Flashcard
75

NoInfer<T>

Flashcard
76

NonNullable<T>

Flashcard
77

String Manipulation Utilities

Flashcard
78

Awaited<T>

Flashcard
79

Record<K, T>

Flashcard
80

Generic Utility Helpers

Flashcard
81

ThisParameterType<T>

Flashcard
Slides / Video

Generics, Unions & Utility Types

See how TypeScript's utility types are just generics transforming union-driven key sets to reshape existing types safely.

Slide 1
1 / 6