UNPKG

ivue-material-plus

Version:

A high quality UI components Library with Vue.js

10 lines (9 loc) 590 B
import type { AppContext, Plugin } from 'vue'; export declare type SFCWithInstall<T> = T & Plugin; export declare type SFCInstallWithContext<T> = SFCWithInstall<T> & { _context: AppContext | null; }; export declare const withInstall: <T, E extends Record<string, any>>(main: T, extra?: E) => SFCWithInstall<T> & E; export declare const withNoopInstall: <T>(component: T) => SFCWithInstall<T>; export declare const withInstallDirective: <T>(directive: T, name: string) => SFCWithInstall<T>; export declare const withInstallFunction: <T>(fn: T, name: string) => SFCInstallWithContext<T>;