Apply suggestions from code review
Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com> Signed-off-by: Vincenzo Scamporlino <vincenzos@spotify.com>
This commit is contained in:
committed by
Patrik Oldsberg
parent
f5f81edb6b
commit
fa9028b680
@@ -11,7 +11,7 @@
|
||||
const backend = createBackend({ services: [myCustomServiceFactory] });
|
||||
```
|
||||
|
||||
In order to pass custom service factories use the `add` method:
|
||||
To instead pass the service factory via `backend.add(...)`:
|
||||
|
||||
```ts
|
||||
const backend = createBackend();
|
||||
|
||||
Reference in New Issue
Block a user