Skip to content

Commit

Permalink
fix(pager): [pager] fix pager type error
Browse files Browse the repository at this point in the history
  • Loading branch information
gimmyhehe committed Jan 14, 2025
1 parent 46ada6f commit da7f414
Showing 1 changed file with 5 additions and 5 deletions.
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,
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

0 comments on commit da7f414

Please sign in to comment.