kubernetes-common: Exports types in a way that pleases the transpiler

Signed-off-by: Juan Lulkin <jmaiz@spotify.com>
This commit is contained in:
Juan Lulkin
2021-04-15 13:35:55 +02:00
parent 219313b29d
commit 99930d194c
2 changed files with 6 additions and 5 deletions
@@ -15,17 +15,18 @@
*/
import type {
FetchResponse,
KubernetesFetchError,
FetchResponse as FetchResponseCommon,
KubernetesFetchError as KubernetesFetchErrorCommon,
} from '@backstage/plugin-kubernetes-common';
export type {
FetchResponse,
KubernetesErrorTypes,
KubernetesFetchError,
KubernetesRequestBody,
} from '@backstage/plugin-kubernetes-common';
export type KubernetesFetchError = KubernetesFetchErrorCommon;
export type FetchResponse = FetchResponseCommon;
export type ClusterLocatorMethod =
| ConfigClusterLocatorMethod
| GKEClusterLocatorMethod;