From 32a456dda6656e00affe6050b2d0e13ededec50c Mon Sep 17 00:00:00 2001 From: Colin Kennedy Date: Sat, 18 Dec 2021 09:34:17 -0400 Subject: [PATCH] rename generic parameters in `Exclude<>` making the capabilities / limitations of `Exclude<>` more obvious. see: https://github.com/microsoft/TypeScript/issues/47178 --- packages/documentation/copy/en/reference/Utility Types.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/documentation/copy/en/reference/Utility Types.md b/packages/documentation/copy/en/reference/Utility Types.md index 95d01e639986..fa0f4d3d98f6 100644 --- a/packages/documentation/copy/en/reference/Utility Types.md +++ b/packages/documentation/copy/en/reference/Utility Types.md @@ -205,7 +205,7 @@ todoInfo; // ^? ``` -## `Exclude` +## `Exclude`
@@ -214,7 +214,7 @@ Released:
-Constructs a type by excluding from `Type` all union members that are assignable to `ExcludedUnion`. +Constructs a type by excluding from `UnionType` all union members that are assignable to `ExcludedMembers`. ##### Example