Created
September 6, 2016 09:51
-
-
Save jeffijoe/ae315059a5329c5077f17514e0fb0454 to your computer and use it in GitHub Desktop.
Snippet for my Medium article
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const currentUser = { | |
id: 123, | |
name: 'Jeff' | |
} | |
const todosRepository = new TodosRepository() | |
const todosService = makeTodosService({ | |
todosRepository, | |
currentUser | |
}) | |
export default { | |
todosService, | |
todosRepository, | |
currentUser | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment