From 4dbbb03dda477689bac62b2b99295f4b29178a64 Mon Sep 17 00:00:00 2001 From: Peli de Halleux Date: Tue, 1 Oct 2024 20:18:33 +0000 Subject: [PATCH] Refactor paginatorToArray to use AsyncIterable instead of AsyncIterableIterator --- packages/core/src/github.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/github.ts b/packages/core/src/github.ts index 23ebd69154..b509f7b876 100644 --- a/packages/core/src/github.ts +++ b/packages/core/src/github.ts @@ -412,7 +412,7 @@ export async function githubCreatePullRequestReviews( } async function paginatorToArray( - iterator: AsyncIterableIterator, + iterator: AsyncIterable, count: number, iteratorItem: (item: T) => R[], elementFilter?: (item: R) => boolean