1 import {Except} from './except';
4 Merge two types into a new type. Keys of the second type overrides keys of the first type.
8 import {Merge} from 'type-fest';
19 const ab: Merge<Foo, Bar> = {a: 1, b: 2};
22 export type Merge<FirstType, SecondType> = Except<FirstType, Extract<keyof FirstType, keyof SecondType>> & SecondType;