vue3-oop-static
Version:
12 lines (11 loc) • 391 B
TypeScript
import { Injector } from 'static-injector';
import { InjectionKey } from 'vue';
import { VueComponentStaticContructor } from '@/type';
export declare const InjectorKey: InjectionKey<Injector>;
declare module 'vue' {
interface App {
getStore(): any;
getService(token: any): any;
}
}
export declare function resolveComponent(target: VueComponentStaticContructor): any;