UNPKG

evil-vue

Version:

Evil vue3 writing, similar to angular writing Dependency injection

16 lines (15 loc) 790 B
import { InjectionToken, ReflectiveInjector } from 'injection-js'; import { App, InjectionKey } from 'vue'; /**vue app token */ export declare const VUE_APP: InjectionToken<App<any>>; export declare const vue_app: App<any>; export declare type VUE_APP_TYPE = Readonly<typeof vue_app>; /**vue initializer token */ export declare const APP_INITIALIZER: InjectionToken<any>; export declare const VUE_APP_INIT_STARTUP: InjectionToken<unknown>; /**module InjectorKey */ export declare const InjectorKey: InjectionKey<ReflectiveInjector>; export declare const ModuleProvidersMetadataKey: unique symbol; export declare const ModuleImportsMetadataKey: unique symbol; export declare const ModuleDeclarationsMetadataKey: unique symbol; export declare const ModuleBootstrapMetadataKey: unique symbol;