UNPKG

330 BTypeScriptView Raw
1export declare type Primitive = null | undefined | string | number | boolean | symbol | bigint;
2export declare type Required<T, K extends keyof T = keyof T> = T & {
3 [P in K]-?: T[P];
4};
5export declare type LiteralUnion<LiteralType extends BaseType, BaseType extends Primitive> = LiteralType | (BaseType & {
6 _?: never;
7});