WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.
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