Skip to content
Closed
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
5 changes: 5 additions & 0 deletions src/lib/es5.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1438,6 +1438,11 @@ type Record<K extends keyof any, T> = {
*/
type Exclude<T, U> = T extends U ? never : T;

/**
* Omit from T the properties whose keys are in U
*/
type Omit<T, U extends keyof T> = Pick<T, Exclude<keyof T, U>>;

/**
* Extract from T those types that are assignable to U
*/
Expand Down