An object that consist of what's unique in both, else never
OmitCommonKeys<{ d: { d: 'a' }; p: { b: 'b' }; x: { c: 'c' } }, { d: 'd' }>
// Result:
{
p: {
b: 'b';
};
x: {
c: 'c';
};
}
OmitCommonKeys<
{ d: 'd'; k: 'k' },
{ d: 'd'; p: { b: 'b' }; x: { c: 'c' } }
>
// Result:
{ k: 'k' }
Omit the common keys between the the two objects,