questions/00599-medium-merge/README.md
Merge two types into a new type. Keys of the second type overrides keys of the first type.
For example
type foo = {
name: string
age: string
}
type coo = {
age: number
sex: string
}
type Result = Merge<foo, coo> // expected to be {name: string, age: number, sex: string}
<a href="../../README.md" target="_blank"></a> <a href="https://tsch.js.org/599/answer" target="_blank"></a> <a href="https://tsch.js.org/599/solutions" target="_blank"></a> <!--info-footer-end-->