a class has a dependency on an interface
e also need to use the @inject decorator to define an identifier for the interface that will be available at runtime
his is the only place in which there is some coupling. In the rest of your application your classes should be free of references to other classes.
An IoC container uses a class constructor to identify and inject its dependencies.
The InversifyJS type definitions are included in the inversify npm package
Glasp is a social web highlighter that people can highlight and organize quotes and thoughts from the web, and access other like-minded people’s learning.