UNPKG

@kakasoo/proto-typescript

Version:

Utility types and implementations based on JavaScript prototypes.

2 lines 129 B
export type NotAUnion<T, U = T> = U extends any ? ([T] extends [U] ? T : never) : never; //# sourceMappingURL=union.type.d.ts.map