install.d.ts 539 B

123456
  1. import type { Directive } from 'vue';
  2. import type { SFCInstallWithContext, SFCWithInstall } from './typescript';
  3. export declare const withInstall: <T, E extends Record<string, any>>(main: T, extra?: E | undefined) => SFCWithInstall<T> & E;
  4. export declare const withInstallFunction: <T>(fn: T, name: string) => SFCInstallWithContext<T>;
  5. export declare const withInstallDirective: <T extends Directive<any, any>>(directive: T, name: string) => SFCWithInstall<T>;
  6. export declare const withNoopInstall: <T>(component: T) => SFCWithInstall<T>;