UNPKG

rambdax

Version:

Extended version of Rambda - a lightweight, faster alternative to Ramda

14 lines (12 loc) 261 B
import {Union} from './Union' /** Get the intersection of `U1` & `U2` @param U1 to check similarities with @param U2 to check similarities against @returns [[Union]] @example ```ts ``` */ export type Intersect<U1 extends Union, U2 extends Union> = U1 & U2