UNPKG

doguinho

Version:

IoC and DI for Vue.js 2 with InversifyJS inspired by NestJS

11 lines (10 loc) 484 B
export declare type Decorator = ClassDecorator | ParameterDecorator | MethodDecorator; export declare type Constructor<T = any> = { new (...args: any[]): T; }; export declare type Instantiable<T> = new (...args: any[]) => T; export declare function decorate(decorator: Decorator, constructor: Constructor): void; export declare function fixModuleName(name: string): string; export declare function assignFn<T = { [key: string]: Function; }>(current: string, expect: T): void;