From 5494895f47868125ae348e1e4d009db8cd1c06a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Bignon?= Date: Tue, 20 Jan 2026 00:22:38 +0100 Subject: [PATCH] Update list method parameter type to RequestOptionsPaging --- src/common/classes.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/classes.ts b/src/common/classes.ts index c8d5504..fc3c3ab 100644 --- a/src/common/classes.ts +++ b/src/common/classes.ts @@ -7,7 +7,7 @@ export class Classes { * Paginates through all classes that the user has access to. * @param options Provide a `limit` for the max number of results */ - async *list(options: { limit?: number } = {}): AsyncGenerator { + async *list(options: RequestOptionsPaging = {}): AsyncGenerator { yield* this.api.paginate('/classes', options); }