inversify / InversifyJS

A powerful and lightweight inversion of control container for JavaScript & Node.js apps powered by TypeScript.
http://inversify.io/
MIT License
11.33k stars 719 forks source link

Constructor injection #95

Closed remojansen closed 8 years ago

remojansen commented 8 years ago

Injects a constructor (don't need to create an instance). It will be something like:

bind<X>("X").toConstructor(someConstructor)
remojansen commented 8 years ago

Done by https://github.com/inversify/InversifyJS/pull/97