UNPKG
@kakasoo/proto-typescript
Version:
latest (1.28.8)
1.28.8
1.28.7
1.28.6
1.28.5
1.28.4
1.28.3
1.28.2
1.28.1
1.28.0
1.27.3
1.27.2
1.27.1
1.27.0
1.26.5
1.26.4
1.26.2
1.26.1
1.26.0
1.25.1
1.25.0
1.24.0
1.23.0
1.22.0
1.21.0
1.20.0
1.19.0
1.18.0
1.17.2
1.17.1
1.17.0
1.16.1
1.16.0
1.15.0
1.14.0
1.13.1
1.13.0
1.12.1
1.12.0
1.11.0
1.10.0
1.9.2
1.9.1
1.9.0
1.8.0
1.7.1
1.7.0
1.6.1
1.6.0
1.5.1
1.5.0
1.4.2
1.4.1
1.4.0
1.3.0
1.2.0
1.1.1
1.1.0
1.0.3
1.0.2
1.0.1
1.0.0
Utility types and implementations based on JavaScript prototypes.
@kakasoo/proto-typescript
/
dist
/
types
/
union.type.d.ts
2 lines
•
129 B
TypeScript
View Raw
1
2
export
type
NotAUnion
<T, U = T> = U
extends
any
? ([T]
extends
[U] ? T :
never
) :
never
;
//# sourceMappingURL=union.type.d.ts.map