9 lines
218 B
TypeScript
9 lines
218 B
TypeScript
|
export interface PaginationResult<R> extends Array<R> {
|
||
|
next(): Promise<PaginationResult<R>>;
|
||
|
|
||
|
// The total number of results available or null if unknown
|
||
|
totalResults: null | number;
|
||
|
|
||
|
done: boolean;
|
||
|
}
|