UNPKG
tikki
Version:
latest (3.0.2)
3.0.2
3.0.1
3.0.0
2.0.0
1.0.2
1.0.1
1.0.0
0.0.1
Minimalistic game/animation loop orchestrator
github.com/niklasramo/tikki
niklasramo/tikki
tikki
/
src
/
types.ts
6 lines
(5 loc)
•
129 B
text/typescript
View Raw
1
2
3
4
5
6
export
type
UnionToIntersection
<U> = (U
extends
any
?
(
x
: U
) =>
void
:
never
)
extends
(
x
: infer I, ) =>
void
? I :
never
;