File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ This utility is useful for representing assignment expressions that will fail at
5454function freeze<T >(obj : T ): Readonly <T >;
5555```
5656
57- # ` Record<K, T> `
57+ # ` Record<K,T> `
5858
5959Constructs a type with a set of properties ` K ` of type ` T ` . This utility can be used to map the properties of a type to another type.
6060
@@ -74,7 +74,7 @@ const x: Record<Page, PageInfo> = {
7474};
7575```
7676
77- # ` Pick<T, K> `
77+ # ` Pick<T,K> `
7878
7979Constructs a type by picking the set of properties ` K ` from ` T ` .
8080
@@ -95,7 +95,7 @@ const todo: TodoPreview = {
9595};
9696```
9797
98- # ` Exclude<T, U> `
98+ # ` Exclude<T,U> `
9999
100100Constructs a type by excluding from ` T ` all properties that are assignable to ` U ` .
101101
@@ -107,7 +107,7 @@ type T1 = Exclude<"a" | "b" | "c", "a" | "b">; // "c"
107107type T2 = Exclude <string | number | (() => void ), Function >; // string | number
108108```
109109
110- # ` Extract<T, U> `
110+ # ` Extract<T,U> `
111111
112112Constructs a type by extracting from ` T ` all properties that are assignable to ` U ` .
113113
You can’t perform that action at this time.
0 commit comments