Skip to content

Commit 32a456d

Browse files
authored
rename generic parameters in Exclude<>
making the capabilities / limitations of `Exclude<>` more obvious. see: microsoft/TypeScript#47178
1 parent e9c813b commit 32a456d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/documentation/copy/en/reference/Utility Types.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ todoInfo;
205205
// ^?
206206
```
207207

208-
## `Exclude<Type, ExcludedUnion>`
208+
## `Exclude<UnionType, ExcludedMembers>`
209209

210210
<blockquote class=bg-reading>
211211

@@ -214,7 +214,7 @@ Released:
214214

215215
</blockquote>
216216

217-
Constructs a type by excluding from `Type` all union members that are assignable to `ExcludedUnion`.
217+
Constructs a type by excluding from `UnionType` all union members that are assignable to `ExcludedMembers`.
218218

219219
##### Example
220220

0 commit comments

Comments
 (0)