import {Except} from './except';
import {Simplify} from './simplify';
type Merge_ = Except> & SecondType;
/**
Merge two types into a new type. Keys of the second type overrides keys of the first type.
@example
```
import {Merge} from 'type-fest';
type Foo = {
a: number;
b: string;
};
type Bar = {
b: number;
};
const ab: Merge = {a: 1, b: 2};
```
*/
export type Merge = Simplify>;