Get an Object that is the difference between O & O1.
Object
O
O1
For example:
type Foo = { name: string age: string } type Bar = { name: string age: string gender: number } Diff<Foo, Bar> // expected: // { // gender: number // }
Code