Skip to content

Commit 23c61be

Browse files
fix TS
1 parent 0d530d5 commit 23c61be

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

x-pack/plugins/upgrade_assistant/server/routes/cluster_checkup.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export function registerClusterCheckupRoutes({ cloud, router, licensing, log }:
4242
);
4343
const indexNames = status.indices
4444
.filter(({ index }) => typeof index !== 'undefined')
45-
.map(({ index }) => index);
45+
.map(({ index }) => index as string);
4646

4747
await reindexService.cleanupReindexOperations(indexNames);
4848

0 commit comments

Comments
 (0)