Removed the unused TypesToServiceRef type

Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
Fredrik Adelöw
2023-02-07 10:35:38 +01:00
parent cc08d60324
commit 9c9456fd33
4 changed files with 5 additions and 9 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/backend-plugin-api': patch
---
Removed the unused `TypesToServiceRef` type
@@ -525,11 +525,6 @@ export interface TokenManagerService {
}>;
}
// @public (undocumented)
export type TypesToServiceRef<T> = {
[key in keyof T]: ServiceRef<T[key]>;
};
// @public
export interface UrlReaderService {
readTree(url: string, options?: ReadTreeOptions): Promise<ReadTreeResponse>;
@@ -17,7 +17,6 @@
export type {
ServiceRef,
ServiceRefConfig,
TypesToServiceRef,
ServiceFactory,
PluginServiceFactoryConfig,
RootServiceFactoryConfig,
@@ -47,9 +47,6 @@ export type ServiceRef<
$$ref: 'service';
};
/** @public */
export type TypesToServiceRef<T> = { [key in keyof T]: ServiceRef<T[key]> };
/** @public */
export type ServiceFactory<TService = unknown> =
| {