fix(types): fix the type of TableApiFn (#599)

This commit is contained in:
青菜白玉汤
2024-08-14 09:28:22 +08:00
committed by GitHub
parent 5094f0eea8
commit 26c93dff9a
2 changed files with 4 additions and 1 deletions

View File

@ -26,7 +26,7 @@ declare namespace NaiveUI {
type TableColumn<T> = TableColumnWithKey<T> | DataTableSelectionColumn<T> | DataTableExpandColumn<T>;
type TableApiFn<T = any, R = Api.SystemManage.CommonSearchParams> = (
type TableApiFn<T = any, R = Api.Common.CommonSearchParams> = (
params: R
) => Promise<FlatResponseData<Api.Common.PaginatingQueryRecord<T>>>;