UNPKG

@angular-package/testing

Version:

Jasmine unit testing wrapper with additional custom testing features.

2 lines (1 loc) 120 B
export type UnionToIntersection<U> = (U extends any ? (x: U) => void : never) extends (x: infer R) => void ? R : never;