We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90b100d commit de37b55Copy full SHA for de37b55
src/core/pagination.ts
@@ -104,7 +104,7 @@ export class PagePromise<
104
* console.log(item)
105
* }
106
*/
107
- async *[Symbol.asyncIterator]() {
+ async *[Symbol.asyncIterator](): AsyncGenerator<Item> {
108
const page = await this;
109
for await (const item of page) {
110
yield item;
0 commit comments