UNPKG

tikki

Version:

Minimalistic game/animation loop orchestrator

6 lines (5 loc) 129 B
export type UnionToIntersection<U> = (U extends any ? (x: U) => void : never) extends ( x: infer I, ) => void ? I : never;