We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1361424 commit 9d4c56fCopy full SHA for 9d4c56f
pages/Utility Types.md
@@ -2,6 +2,19 @@
2
3
TypeScript provides several utility types to facilitate common type transformations. These utilities are available globally.
4
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
+
18
# `Partial<T>`
19
20
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