Skip to content

Commit 7075c97

Browse files
committed
types: add extra type assertion to satisfy linter
1 parent 3571b6c commit 7075c97

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/core/src/shared/clients/clientWrapper.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ export abstract class ClientWrapper<C extends AwsClient> implements vscode.Dispo
5050
for await (const page of p) {
5151
results.push(extractPage(page))
5252
}
53-
return results.flat().filter((result) => result !== undefined)
53+
const filteredResult = results.flat().filter((result) => result !== undefined) as Output[]
54+
return filteredResult
5455
}
5556

5657
public dispose() {

0 commit comments

Comments
 (0)