Skip to content

Commit

Permalink
Fix typing
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewmakarov committed Sep 6, 2023
1 parent 7142471 commit 4c51d43
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions js/common/grids.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2746,7 +2746,7 @@ export type RowInsertingInfo<TRowData = any> = {
data: TRowData;
/**
* @docid
* @type Promise<void>
* @type boolean|Promise<boolean>|Promise<void>
*/
cancel: boolean | PromiseLike<boolean> | PromiseLike<void>;
};
Expand Down Expand Up @@ -2793,7 +2793,7 @@ export interface RowRemovingInfo<TRowData = any, TKey = any> {
readonly key: TKey;
/**
* @docid
* @type boolean|Promise<void>
* @type boolean|Promise<boolean>|Promise<void>
*/
cancel: boolean | PromiseLike<boolean> | PromiseLike<void>;
}
Expand Down Expand Up @@ -2835,7 +2835,7 @@ export interface RowUpdatingInfo<TRowData = any, TKey = any> {
readonly key: TKey;
/**
* @docid
* @type boolean|Promise<void>
* @type boolean|Promise<boolean>|Promise<void>
*/
cancel: boolean | PromiseLike<boolean> | PromiseLike<void>;
}
Expand Down

0 comments on commit 4c51d43

Please sign in to comment.