UNPKG

@rc-component/input

Version:
3 lines (2 loc) 135 B
/** https://github.com/Microsoft/TypeScript/issues/29729 */ export type LiteralUnion<T extends U, U> = T | (U & Record<never, never>);