UNPKG

rc-js-util

Version:

A collection of TS and C++ utilities to help writing performant and correct applications, achieved through strict typing and (removable) invariant checking.

13 lines (7 loc) 409 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [rc-js-util](./rc-js-util.md) &gt; [TUnionToIntersection](./rc-js-util.tuniontointersection.md) ## TUnionToIntersection type **Signature:** ```typescript export type TUnionToIntersection<T> = ((T extends unknown ? (k: T) => void : never) extends ((k: infer U) => void) ? U : never); ```