Skip to content

Commit da7f414

Browse files
committed
fix(pager): [pager] fix pager type error
1 parent 46ada6f commit da7f414

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

packages/renderless/types/pager.type.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@ import type {
2929
setTotal,
3030
clickSizes,
3131
watchInternalCurrentPage,
32-
watchPageSizes,
3332
watchCurrentPage,
3433
watchInternalPageCount,
35-
watchPageSize,
3634
watchTotal,
37-
watchShowSizes
35+
watchShowSizes,
36+
watchInternalPageSize,
37+
getInternalPageSize
3838
} from '../src/pager'
3939

4040
export type IPagerProps = ExtractPropTypes<typeof pagerProps>
@@ -89,12 +89,12 @@ export interface IPagerApi {
8989
setTotal: ReturnType<typeof setTotal>
9090
clickSizes: ReturnType<typeof clickSizes>
9191
watchInternalCurrentPage: ReturnType<typeof watchInternalCurrentPage>
92-
watchPageSizes: ReturnType<typeof watchPageSizes>
9392
watchCurrentPage: ReturnType<typeof watchCurrentPage>
9493
watchInternalPageCount: ReturnType<typeof watchInternalPageCount>
95-
watchPageSize: ReturnType<typeof watchPageSize>
9694
watchTotal: ReturnType<typeof watchTotal>
9795
watchShowSizes: ReturnType<typeof watchShowSizes>
96+
watchInternalPageSize: ReturnType<typeof watchInternalPageSize>
97+
getInternalPageSize: ReturnType<typeof getInternalPageSize>
9898
}
9999
export type IPagerRenderlessParams = ISharedRenderlessFunctionParams<never> & {
100100
api: IPagerApi

0 commit comments

Comments
 (0)