[doc] wrong comment for countQueries option
psam44 opened this issue · comments
P Sam commented
In IPaginationOptions:
/**
* @default true
* Turn off pagination count total queries. itemCount, totalItems, itemsPerPage and totalPages will be undefined
*/
countQueries?: boolean;
The comment is wrong about itemCount
and itemsPerPage
. Here is an example of what we can have:
meta: {
totalItems: undefined,
itemCount: 24,
itemsPerPage: 25,
totalPages: undefined,
currentPage: 1
},