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 1172430 commit d4df248Copy full SHA for d4df248
src/pagination.ts
@@ -45,6 +45,14 @@ export class Page<Item> extends AbstractPage<Item> implements PageResponse<Item>
45
return this.data ?? [];
46
}
47
48
+ override hasNextPage() {
49
+ if (this.has_more === false) {
50
+ return false;
51
+ }
52
+
53
+ return super.hasNextPage();
54
55
56
// @deprecated Please use `nextPageInfo()` instead
57
nextPageParams(): Partial<PageParams> | null {
58
const info = this.nextPageInfo();
0 commit comments