fix(core): update
This commit is contained in:
@ -57,10 +57,12 @@ export interface ITableAction<T = any> {
|
||||
* @param itemArg
|
||||
* @returns
|
||||
*/
|
||||
actionFunc: (optionsArg: {
|
||||
item: T,
|
||||
dataArray: T[],
|
||||
}) => Promise<any>;
|
||||
actionFunc: (actionDataArg: ITableActionDataArg<T>) => Promise<any>;
|
||||
}
|
||||
|
||||
export interface ITableActionDataArg<T> {
|
||||
item: T,
|
||||
dataArray: T[],
|
||||
}
|
||||
|
||||
export type TDisplayFunction<T = any> = (itemArg: T) => object;
|
||||
|
Reference in New Issue
Block a user