Skip to content

Commit

Permalink
fix TS
Browse files Browse the repository at this point in the history
  • Loading branch information
alisonelizabeth committed Mar 23, 2020
1 parent 0d530d5 commit 23c61be
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 23c61be

Please sign in to comment.