backend-plugin-api: cleanup ServiceRef interface
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/backend-plugin-api': patch
|
||||
---
|
||||
|
||||
Removed explicit `toString()` method from `ServiceRef` type.
|
||||
@@ -570,7 +570,6 @@ export type ServiceRef<
|
||||
id: string;
|
||||
scope: TScope;
|
||||
T: TService;
|
||||
toString(): string;
|
||||
$$type: '@backstage/ServiceRef';
|
||||
};
|
||||
|
||||
|
||||
@@ -44,8 +44,6 @@ export type ServiceRef<
|
||||
*/
|
||||
T: TService;
|
||||
|
||||
toString(): string;
|
||||
|
||||
$$type: '@backstage/ServiceRef';
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user