maz-ui
Version:
A standalone components library for Vue.Js 3 & Nuxt.Js 3
8 lines (7 loc) • 471 B
TypeScript
export type LoaderId = unknown;
export declare const DEFAULT_LOADER: LoaderId;
export declare function uniq(array: LoaderId[]): unknown[];
export declare function contains(array: Array<LoaderId>): (predicate?: LoaderId | VoidFunction) => boolean;
export declare const hasItems: (array: LoaderId[]) => boolean;
export declare function push(array: LoaderId[]): (item?: LoaderId) => unknown[];
export declare function pop(array: LoaderId[]): (item?: LoaderId) => unknown[];