UNPKG

@ccms/container

Version:

MiaoScript container package

10 lines 904 B
import { interfaces, Container } from "inversify"; declare const ContainerInstance: unique symbol; declare function initContainer(container: Container): Container; declare function getContainer(): Container; declare let lazyInject: (serviceIdentifier: interfaces.ServiceIdentifier<any>) => (proto: any, key: string) => void; declare let lazyInjectNamed: (serviceIdentifier: interfaces.ServiceIdentifier<any>, named: string) => (proto: any, key: string) => void; declare let lazyInjectTagged: (serviceIdentifier: interfaces.ServiceIdentifier<any>, key: string, value: any) => (proto: any, propertyName: string) => void; declare let lazyMultiInject: (serviceIdentifier: interfaces.ServiceIdentifier<any>) => (proto: any, key: string) => void; export { initContainer, getContainer, ContainerInstance, lazyInject, lazyInjectNamed, lazyInjectTagged, lazyMultiInject }; //# sourceMappingURL=decorators.d.ts.map