UNPKG

@momentum-ui/react-collaboration

Version:

Cisco Momentum UI Framework for React Collaboration Applications

5 lines (4 loc) 280 B
export type Expect<T extends true> = T; export type ExpectFalse<T extends false> = T; export type Equal<X, Y> = (<T>() => T extends X ? 1 : 2) extends <T>() => T extends Y ? 1 : 2 ? true : false; export type ExpectExtends<VALUE, EXPECTED> = EXPECTED extends VALUE ? true : false;