Type alias mergeTypes<A, B>

mergeTypes<A, B>: {
    [k in keyof A | keyof B]: k extends keyof B
        ? B[k]
        : k extends keyof A
            ? A[k]
            : never
}

Type Parameters

  • A
  • B

Generated using TypeDoc