Strict deep merge of two object types.
Base object type
Overriding object type
1.1.0
Similar to DeepMerge but preserves array types from the left-hand side by injecting right-hand properties into array element types.
type A = { a: { x: { foo: true } } };type B = { a: { x: { foo: number, bar: string } } };type Merged = < A, B >;// { a: { x: { foo: true, bar: string } } } Copy
type A = { a: { x: { foo: true } } };type B = { a: { x: { foo: number, bar: string } } };type Merged = < A, B >;// { a: { x: { foo: true, bar: string } } }
Strict deep merge of two object types.