From 350f21d95599b20a9aeaed4e0fb598b10a183ab5 Mon Sep 17 00:00:00 2001 From: Francis Dinh Date: Wed, 7 Dec 2022 16:41:34 -0500 Subject: [PATCH] server: fix typing for skippedInstances query --- packages/backend/src/misc/skipped-instances.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend/src/misc/skipped-instances.ts b/packages/backend/src/misc/skipped-instances.ts index 37587c52e..f5b5c3b73 100644 --- a/packages/backend/src/misc/skipped-instances.ts +++ b/packages/backend/src/misc/skipped-instances.ts @@ -35,7 +35,7 @@ export async function skippedInstances(hosts: Array): Promise< hosts.filter(host => !skipped.includes(host) && !host.includes(',')).join(','), ], ) - .then(res => res.map(row => row.host)), + .then((res: Instance[]) => res.map(row => row.host)), ); }