UNPKG

@qvant/qui-max

Version:

A Vue 3 Design system for Web.

13 lines (12 loc) 672 B
import type { App, ComponentPublicInstance, UnwrapRef } from 'vue'; export declare type Nullable<T> = T | null; export declare type Nillable<T> = T | null | undefined; export declare type Optional<T> = T | undefined; export declare type SFCWithInstall<T> = T & { install(app: App): void; }; export declare type UnwrappedInstance<T> = Nullable<ComponentPublicInstance<UnwrapRef<T>>>; export declare type Enumerable<T> = T | T[]; export declare type IsArray<T> = T extends unknown[] ? T : never; export declare type UnpackArrayType<T> = T extends (infer R)[] ? R : T; export declare type ClassValue = Nillable<ClassValue[] | Record<string, Nillable<boolean>> | string>;