1 | declare type IsEqual<T, U> = (<G>() => G extends T ? 1 : 2) extends (<G>() => G extends U ? 1 : 2) ? true : false;
|
2 | declare type Filter<KeyType, ExcludeType> = IsEqual<KeyType, ExcludeType> extends true ? never : (KeyType extends ExcludeType ? never : KeyType);
|
3 | export declare type Except<ObjectType, KeysType extends keyof ObjectType> = {
|
4 | [KeyType in keyof ObjectType as Filter<KeyType, KeysType>]: ObjectType[KeyType];
|
5 | };
|
6 | export {};
|
7 | //# sourceMappingURL=except.d.ts.map |
\ | No newline at end of file |