Type alias GetObjDifferentKeys<T, U, T0, T1>

GetObjDifferentKeys<T, U, T0, T1>: T1

Take two objects T and U and create the new one with uniq keys for T a U objectI helper generic for MergeObject

Type Parameters

Type Parameters

  • T

  • U

  • T0 = Omit<T, keyof U> & Omit<U, keyof T>

  • T1 = { [ K in keyof T0]-?: T0[K] }