Skip to content

Commit 4ba6b57

Browse files
committed
fix SelectCellKeyDownArgs type in README
1 parent 83674a9 commit 4ba6b57

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1782,9 +1782,9 @@ Arguments passed to the `onCellKeyDown` handler. The shape differs based on whet
17821782
**SELECT mode:**
17831783

17841784
```tsx
1785-
interface SelectCellKeyDownArgs<TRow, TSummaryRow> {
1785+
interface SelectCellKeyDownArgs<TRow, TSummaryRow = unknown> {
17861786
mode: 'SELECT';
1787-
column: CalculatedColumn<TRow, TSummaryRow>;
1787+
column: CalculatedColumn<TRow, TSummaryRow> | undefined;
17881788
row: TRow;
17891789
rowIdx: number;
17901790
selectCell: (position: Position, options?: SelectCellOptions) => void;
@@ -1794,7 +1794,7 @@ interface SelectCellKeyDownArgs<TRow, TSummaryRow> {
17941794
**EDIT mode:**
17951795

17961796
```tsx
1797-
interface EditCellKeyDownArgs<TRow, TSummaryRow> {
1797+
interface EditCellKeyDownArgs<TRow, TSummaryRow = unknown> {
17981798
mode: 'EDIT';
17991799
column: CalculatedColumn<TRow, TSummaryRow>;
18001800
row: TRow;

0 commit comments

Comments
 (0)