From 345acf3ce9ac0e4eaa2a9d081ff9d478018f96e6 Mon Sep 17 00:00:00 2001 From: atu Date: Wed, 5 Aug 2020 16:33:04 -0700 Subject: [PATCH] fix type --- client/src/utils/nodeHelpers.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/utils/nodeHelpers.ts b/client/src/utils/nodeHelpers.ts index f831669..45ef479 100644 --- a/client/src/utils/nodeHelpers.ts +++ b/client/src/utils/nodeHelpers.ts @@ -4,7 +4,7 @@ */ function getReadyStatus({status}: {status: {[key: string]: any}}) { if (!status.conditions) return null; - const ready = status.conditions.find((y: any) => y.type === 'Ready'); + const ready = status.conditions.find((y: {type: string}) => y.type === 'Ready'); return ready && ready.status; }