Type alias Combine<A, B>

Combine<A, B>: B extends A ? B : A extends B ? A : { readonly [ K in keyof (A & B)]-?: (A & B)[K] } extends A & B ? { readonly [ K in keyof (A & B)]-?: (A & B)[K] } : A & B

Given two types, will return a intersection of all the types. The difference between this and CombineType is that this will merge object based on keys.

Type Parameters

  • A

  • B

Generated using TypeDoc