inversify-binding-decorators
Version:
An utility that allows developers to declare InversifyJS bindings using ES2016 decorators
12 lines (11 loc) • 625 B
TypeScript
import interfaces from "../interfaces/interfaces";
import { interfaces as inversifyInterfaces } from "inversify";
declare class ProvideInSyntax<T> implements interfaces.ProvideInSyntax<T> {
private _bindingInSyntax;
private _provideDoneSyntax;
constructor(bindingInSyntax: (bind: inversifyInterfaces.Bind, target: any) => inversifyInterfaces.BindingInSyntax<T>, provideDoneSyntax: interfaces.ProvideDoneSyntax);
inSingletonScope(): interfaces.ProvideWhenOnSyntax<T>;
inTransientScope(): interfaces.ProvideWhenOnSyntax<T>;
done(force?: boolean): (target: any) => any;
}
export default ProvideInSyntax;