From 963e24371f0a84ce178973ba0ee70021274b8220 Mon Sep 17 00:00:00 2001 From: Peli de Halleux Date: Tue, 1 Oct 2024 13:25:34 -0700 Subject: [PATCH] Refactor paginatorToArray to use AsyncIterable instead of AsyncIterableIterator (#745) --- 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