From 459b184254150a20f165da885195b339d834dad1 Mon Sep 17 00:00:00 2001 From: Aman Mahajan Date: Thu, 12 Dec 2024 16:38:49 -0600 Subject: [PATCH] Cleanup --- src/types.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/types.ts b/src/types.ts index b1130e876d..a0b13a6f19 100644 --- a/src/types.ts +++ b/src/types.ts @@ -169,24 +169,24 @@ export type CellKeyboardEvent = CellEvent>; export type CellClipboardEvent = React.ClipboardEvent; export interface CellClickArgs { - rowIdx: number; - row: TRow; column: CalculatedColumn; + row: TRow; + rowIdx: number; selectCell: (enableEditor?: boolean) => void; } interface SelectCellKeyDownArgs { mode: 'SELECT'; - row: TRow; column: CalculatedColumn; + row: TRow; rowIdx: number; selectCell: (position: Position, enableEditor?: Maybe) => void; } export interface EditCellKeyDownArgs { mode: 'EDIT'; - row: TRow; column: CalculatedColumn; + row: TRow; rowIdx: number; navigate: () => void; onClose: (commitChanges?: boolean, shouldFocusCell?: boolean) => void; @@ -250,8 +250,8 @@ export interface FillEvent { } export interface CellCopyPasteEvent { - row: TRow; column: CalculatedColumn; + row: TRow; } export interface GroupRow {