Merge pull request #13510 from backstage/mob/factories
backend-next: incorporate options into createServiceFactory
This commit is contained in:
@@ -46,6 +46,7 @@ export interface TestBackendOptions<
|
||||
...{
|
||||
[index in keyof TServices]:
|
||||
| ServiceFactory<TServices[index]>
|
||||
| (() => ServiceFactory<TServices[index]>)
|
||||
| [ServiceRef<TServices[index]>, Partial<TServices[index]>];
|
||||
},
|
||||
];
|
||||
|
||||
@@ -32,6 +32,7 @@ export interface TestBackendOptions<
|
||||
...{
|
||||
[index in keyof TServices]:
|
||||
| ServiceFactory<TServices[index]>
|
||||
| (() => ServiceFactory<TServices[index]>)
|
||||
| [ServiceRef<TServices[index]>, Partial<TServices[index]>];
|
||||
},
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user