@inversifyjs/binding-decorators
Version:
InversifyJs binding decorators package
8 lines (4 loc) • 348 B
TypeScript
import { ContainerModule, ServiceIdentifier, BindInWhenOnFluentSyntax } from 'inversify';
declare function buildProviderModule(): ContainerModule;
declare function provide<T>(serviceIdentifier?: ServiceIdentifier<T> | undefined, bind?: (bindSyntax: BindInWhenOnFluentSyntax<T>) => void): ClassDecorator;
export { buildProviderModule, provide };