We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f039ad commit ba64b4fCopy full SHA for ba64b4f
libs/core/src/lib/declarations/omit.d.ts
@@ -1,4 +1,7 @@
1
// Copyright (c) Microsoft Corporation. All rights reserved.
2
// Licensed under the MIT License.
3
4
-export type Omit<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>;
+import { IndexSignature } from './index-signature';
5
+import { KnownKeys } from './known-keys';
6
+
7
+export type Omit<T, K extends keyof T> = Pick<T, Exclude<KnownKeys<T> & keyof T, K>> & IndexSignature<T>;
0 commit comments