-
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
@mesqueeb I noticed that omit allows keys that aren't preset in the original record.
if you swap the key and record definition, it'll enforce the record's types
export declare function omit<K extends string, T extends Record<K, any>>(obj: T, keys: F.AutoPath<T, K>[]): U.Merge<O.P.Omit<T, S.Split<K, '.'>>>;
export declare const guard: typeof omit;
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels