diff --git a/src/lib/es5.d.ts b/src/lib/es5.d.ts index de4a612d3919f..994fb1d765330 100644 --- a/src/lib/es5.d.ts +++ b/src/lib/es5.d.ts @@ -1446,7 +1446,9 @@ type Extract = T extends U ? T : never; /** * Construct a type with the properties of T except for those in type K. */ -type Omit = Pick>; +type Omit = { + [P in Exclude]: T[P] +}; /** * Exclude null and undefined from T