Skip to content

Instantly share code, notes, and snippets.

@Noerdsteil
Created December 13, 2019 20:46
Show Gist options
  • Save Noerdsteil/5595774dde3607ca2a89ec78200868de to your computer and use it in GitHub Desktop.
Save Noerdsteil/5595774dde3607ca2a89ec78200868de to your computer and use it in GitHub Desktop.
Extended dependency Container
import UserPropertyRepo from './account/repos/userPropertyRepo'
import UserRepo from './account/repos/userRepo'
container.bind<IUserPropertyRepo>(DI_TYPES.UserPropertyRepo).to(UserPropertyRepo)
container.bind<IUserRepo>(DI_TYPES.UserRepo).to(UserRepo)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment