Type alias MergedConfiguration<T1, T2>

MergedConfiguration<T1, T2>: keyof T1 extends never ? _NM<T1, T2> : keyof T2 extends never ? _NM<T1, T2> : {
    c1: T1;
    c2: T2;
}

This type represents the result of a merge of two Configuration types T1 and T2, using the following rules: a) If either T1 or T2 is an empty object, then MergedConfiguration<T1, T2> equals T1 & T2 b) If both, T1 and T2, are non-empty then MergedConfiguration<T1, T2> equals { c1: T1; c2: T2 }

Type Parameters

Generated using TypeDoc