3 ms·
I'm more curious to hear from Typescript developers who stand by using the global scope for dependency injection. I see that pattern a lot in Typescript code.
by randomdata 3y ago
I'm more curious to hear from Typescript developers who stand by using the global scope for dependency injection. I see that pattern a lot in Typescript code.
I suspect it is because Typescript doesn't properly support prototype function assignment, which makes scoped injection painfully ugly.