Leaner Dependency Injection pattern in TypeScript
From Java style OOP to a more… TypeScripty feel ?
Published in
3 min readAug 12, 2021
Decoupling code, eliminating implicit dependencies, enabling testability is all great and Dependency Injection is the pattern for doing this. However, the traditional DI approach with class instances taking interfaces for other class instances is a bit too… Java? OOP? Enterprisy? Surely we can get…