Add the posibility to do something like the following:
@injectable(/* name class */ "Custom Name")
class Example { }
let container = new Container()
container.bind(Example) /* etc... */
// or...
container.bind(Example, /* named */ "Custom Name") /* etc... */
// or...
container.bind(Example).toSelf(/* named */ "Custom Name") /* etc... */
let result = container.get<Example>("Custom Name")
console.log(result)
Current Behavior
Can't get binded classes with injectable name
Possible Solution
Add string parameter to name classes the same way it works for properties
Steps to Reproduce (for bugs)
None
Context
Your Environment
Version used:
Environment name and version (e.g. Chrome 39, node.js 5.4):
Expected Behavior
Add the posibility to do something like the following:
Current Behavior
Can't get binded classes with injectable name
Possible Solution
Add string parameter to name classes the same way it works for properties
Steps to Reproduce (for bugs)
Context
Your Environment
Stack trace