Skip to content

Commit de37b55

Browse files
committed
chore(types): add missing type annotation
1 parent 90b100d commit de37b55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/pagination.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ export class PagePromise<
104104
* console.log(item)
105105
* }
106106
*/
107-
async *[Symbol.asyncIterator]() {
107+
async *[Symbol.asyncIterator](): AsyncGenerator<Item> {
108108
const page = await this;
109109
for await (const item of page) {
110110
yield item;

0 commit comments

Comments
 (0)