Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Fix description of Exclude and Extract types #1307

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pages/Utility Types.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ const todo: TodoPreview = {

# `Exclude<T,U>`

Constructs a type by excluding from `T` all properties that are assignable to `U`.
Constructs a type by excluding from `T` all types that are assignable to `U`.

##### Example

Expand All @@ -149,7 +149,7 @@ type T2 = Exclude<string | number | (() => void), Function>; // string | number

# `Extract<T,U>`

Constructs a type by extracting from `T` all properties that are assignable to `U`.
Constructs a type by extracting from `T` all types that are assignable to `U`.

##### Example

Expand Down