Skip to content

Commit 9d4c56f

Browse files
committed
Add table of contents
1 parent 1361424 commit 9d4c56f

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

pages/Utility Types.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,19 @@
22

33
TypeScript provides several utility types to facilitate common type transformations. These utilities are available globally.
44

5+
## Table of contents
6+
* [`Partial<T>`](#partialt)
7+
* [`Readonly<T>`](#readonlyt)
8+
* [`Record<K,T>`](#recordkt)
9+
* [`Pick<T,K>`](#picktk)
10+
* [`Exclude<T,U>`](#excludetu)
11+
* [`Extract<T,U>`](#extracttu)
12+
* [`NonNullable<T>`](#nonnullablet)
13+
* [`ReturnType<T>`](#returntypet)
14+
* [`InstanceType<T>`](#instancetypet)
15+
* [`Required<T>`](#requiredt)
16+
* [`ThisType<T>`](#thistypet)
17+
518
# `Partial<T>`
619

720
Constructs a type with all properties of `T` set to optional. This utility will return a type that represents all subsets of a given type.

0 commit comments

Comments
 (0)