import { ObjectInterface } from '../../common/interface'; const InjectKeys = Symbol('$$_@Inject_Keys'); function Inject(injectToken: any) { return function (target: ObjectInterface, key: string) { if (!target[InjectKeys]) { target[InjectKeys] = Object.create({}); } target[InjectKeys][key] = injectToken; }; } export { Inject, InjectKeys };