magic-design
Version:
> A Vue3.0 Component Lib
11 lines (10 loc) • 557 B
TypeScript
import { VNode } from 'vue';
import { isArray, isString } from '@vue/shared';
export declare const isFragment: (node: any) => boolean;
export declare const isComment: (node: VNode) => boolean;
export declare const isValidElementNode: (node: unknown) => node is VNode<import("vue").RendererNode, import("vue").RendererElement, {
[key: string]: any;
}>;
export declare const blobToDataUrl: (blob: Blob) => Promise<string>;
export declare const getUID: (prefix?: string | number, affix?: string | number) => string;
export { isArray, isString };