From b1799a24920456bdccbbfa0a1d39bf54a1e6b09a Mon Sep 17 00:00:00 2001 From: Evan Lovely Date: Wed, 21 Apr 2021 15:21:30 -0700 Subject: [PATCH] Adjust Omit's 2nd param to allow autocompletion of 1st param's keys --- src/lib/es5.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/es5.d.ts b/src/lib/es5.d.ts index bfa5241a84d94..5f0ed3ce0854d 100644 --- a/src/lib/es5.d.ts +++ b/src/lib/es5.d.ts @@ -1493,7 +1493,7 @@ 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 = Pick>; /** * Exclude null and undefined from T