/** * Excludes all keys of the first type, that are also on the second type * * Example: * type X = OmitAttrs<{b: () => void, c: any}, {a: number, b: string}>; // {c: any} */ export declare type OmitAttrs = Pick>; /** * Merge two types and any keys that are also in the first get deleted in the second * * Example: * type Y = SoftMerge<{a: number, b: string}, {b: () => void, c: any}>; // {a: number, b: string, c: any} */ export declare type SoftMerge = A & OmitAttrs;