import "reflect-metadata"; /** * 用于装饰service或者controller类的装饰器,主要是执行constructor绑定上inject的属性 * 在dinegg导出的service和controller中都已添加自动执行,可不需要此装饰器 重复绑定执行会报错。 */ /** * *service的属性注入装饰器 * @export * @param {(string | FunctionConstructor)} [className] 如果传入构造函数,需自行注意循环引用问题。 * @return {*} */ export declare function inject(...args: any[]): (prototype: any, propName: any) => void; export declare const Inject: typeof inject;