Rocket.Chat.ReactNative/app/definitions/rest/helpers/PaginatedResult.ts

6 lines
96 B
TypeScript

export type PaginatedResult<T = {}> = {
count: number;
offset: number;
total: number;
} & T;