Skip to content

Commit 38ef540

Browse files
committed
default PaginationOptions on AutoPaginatable
1 parent b4443c9 commit 38ef540

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/common/utils/pagination.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { List, PaginationOptions } from '../interfaces';
22

33
export class AutoPaginatable<
44
ResourceType,
5-
ParametersType extends PaginationOptions,
5+
ParametersType extends PaginationOptions = PaginationOptions,
66
> {
77
readonly object = 'list' as const;
88
readonly options: ParametersType;

0 commit comments

Comments
 (0)