backend-next: widen accepted ServiceFactory types to include meta method

Co-authored-by: Fredrik Adelöw <freben@gmail.com>
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2022-09-02 16:27:29 +02:00
parent 5f388ca501
commit 5263e9449d
5 changed files with 33 additions and 22 deletions
@@ -32,6 +32,7 @@ export interface TestBackendOptions<
...{
[index in keyof TServices]:
| ServiceFactory<TServices[index]>
| (() => ServiceFactory<TServices[index]>)
| [ServiceRef<TServices[index]>, Partial<TServices[index]>];
},
];