I\'m developing an application using dependency injection with tsyringe. That\'s the example of a service that receives the repository as a dependency:
tsyringe