UNPKG

vue-typedi

Version:

Use typedi injections in Vue components

4 lines (3 loc) 278 B
export declare function setInjection(options: any, propertyName: string, value: () => any): void; export declare function getInjections(options: any): Map<string, () => any>; export declare function getInjection<T>(options: any, propertyName: string): (() => T) | undefined;