Skip to content

Commit

Permalink
Refactor paginatorToArray to use AsyncIterable instead of AsyncIterab…
Browse files Browse the repository at this point in the history
…leIterator (#745)
  • Loading branch information
pelikhan authored Oct 1, 2024
1 parent e682a88 commit 963e243
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/github.ts
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ export async function githubCreatePullRequestReviews(
}

async function paginatorToArray<T, R>(
iterator: AsyncIterableIterator<T>,
iterator: AsyncIterable<T>,
count: number,
iteratorItem: (item: T) => R[],
elementFilter?: (item: R) => boolean
Expand Down

0 comments on commit 963e243

Please sign in to comment.