Skip to content
Merged
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions packages/renderless/types/pager.type.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ import type {
setTotal,
clickSizes,
watchInternalCurrentPage,
watchPageSizes,
watchCurrentPage,
watchInternalPageCount,
watchPageSize,
watchTotal,
watchShowSizes
watchShowSizes,
watchInternalPageSize,

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ensure that the new watchInternalPageSize and getInternalPageSize functions are correctly implemented and tested to prevent any runtime errors.

getInternalPageSize
} from '../src/pager'

export type IPagerProps = ExtractPropTypes<typeof pagerProps>
Expand Down Expand Up @@ -89,12 +89,12 @@ export interface IPagerApi {
setTotal: ReturnType<typeof setTotal>
clickSizes: ReturnType<typeof clickSizes>
watchInternalCurrentPage: ReturnType<typeof watchInternalCurrentPage>
watchPageSizes: ReturnType<typeof watchPageSizes>
watchCurrentPage: ReturnType<typeof watchCurrentPage>
watchInternalPageCount: ReturnType<typeof watchInternalPageCount>
watchPageSize: ReturnType<typeof watchPageSize>
watchTotal: ReturnType<typeof watchTotal>
watchShowSizes: ReturnType<typeof watchShowSizes>
watchInternalPageSize: ReturnType<typeof watchInternalPageSize>
getInternalPageSize: ReturnType<typeof getInternalPageSize>
}
export type IPagerRenderlessParams = ISharedRenderlessFunctionParams<never> & {
api: IPagerApi
Expand Down
Loading