In this post, we will see how to resolve How to register different implementations of an interface in a tsyringe container based on a given parameter Question: I am trying to find an elegant way to inject an Interface into ...
Question: I am clearly misunderstanding how TSyringe is supposed to resolve classes with dependencies. I created a minimal repro. In my index.tsx, I do as they indicate in the docs and import reflect-metadata. This example works if I inject a ...