Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jacoobes authored Dec 27, 2023
1 parent 504cdee commit 3140f80
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,8 @@ import { Sern, single } from '@sern/handler';

//client has been declared previously
//Version 3
await makeDependencies({
build: root => root
.add({ '@sern/client': single(() => client) })
await makeDependencies(({ add }) => {
.add('@sern/client', single(() => client) )
});

//View docs for all options
Expand Down

0 comments on commit 3140f80

Please sign in to comment.