install.d.ts 714 B

1234567891011
  1. import { SFCInstallWithContext, SFCWithInstall } from "./typescript.js";
  2. import { Directive } from "vue";
  3. //#region ../../packages/utils/vue/install.d.ts
  4. declare const withPropsDefaultsSetter: (target: any) => void;
  5. declare const withInstall: <T, E extends Record<string, any>>(main: T, extra?: E) => SFCWithInstall<T> & E;
  6. declare const withInstallFunction: <T>(fn: T, name: string) => SFCInstallWithContext<T>;
  7. declare const withInstallDirective: <T extends Directive>(directive: T, name: string) => SFCWithInstall<T>;
  8. declare const withNoopInstall: <T>(component: T) => SFCWithInstall<T>;
  9. //#endregion
  10. export { withInstall, withInstallDirective, withInstallFunction, withNoopInstall, withPropsDefaultsSetter };