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); }