Skip to content

Commit 5d7b0fc

Browse files
authored
Make options argument optional (#3791)
1 parent be7105f commit 5d7b0fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DataGrid.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ export type DefaultColumnOptions<R, SR> = Pick<
110110
export interface DataGridHandle {
111111
element: HTMLDivElement | null;
112112
scrollToCell: (position: PartialPosition) => void;
113-
selectCell: (position: Position, options: SelectCellOptions) => void;
113+
selectCell: (position: Position, options?: SelectCellOptions) => void;
114114
}
115115

116116
type SharedDivProps = Pick<

0 commit comments

Comments
 (0)