From 23c61be26b94b2f2ab03e7fd770adaec145b1329 Mon Sep 17 00:00:00 2001 From: Alison Goryachev Date: Mon, 23 Mar 2020 11:51:45 -0400 Subject: [PATCH] fix TS --- .../plugins/upgrade_assistant/server/routes/cluster_checkup.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/plugins/upgrade_assistant/server/routes/cluster_checkup.ts b/x-pack/plugins/upgrade_assistant/server/routes/cluster_checkup.ts index 3232cc10171d6..fa4649f1c5dcd 100644 --- a/x-pack/plugins/upgrade_assistant/server/routes/cluster_checkup.ts +++ b/x-pack/plugins/upgrade_assistant/server/routes/cluster_checkup.ts @@ -42,7 +42,7 @@ export function registerClusterCheckupRoutes({ cloud, router, licensing, log }: ); const indexNames = status.indices .filter(({ index }) => typeof index !== 'undefined') - .map(({ index }) => index); + .map(({ index }) => index as string); await reindexService.cleanupReindexOperations(indexNames);