mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-06 07:47:04 +00:00
Update index.d.ts (#43876)
see https://github.com/tannerlinsley/react-table/blob/master/src/hooks/useTable.js#L52
This commit is contained in:
Vendored
+1
-1
@@ -169,7 +169,7 @@ export type UseTableOptions<D extends object> = {
|
||||
data: D[];
|
||||
} & Partial<{
|
||||
initialState: Partial<TableState<D>>;
|
||||
reducer: (newState: TableState<D>, action: ActionType, previousState: TableState<D>) => TableState<D>;
|
||||
stateReducer: (newState: TableState<D>, action: ActionType, previousState: TableState<D>) => TableState<D>;
|
||||
useControlledState: (state: TableState<D>, meta: Meta<D>) => TableState<D>;
|
||||
defaultColumn: Partial<Column<D>>;
|
||||
getSubRows: (originalRow: D, relativeIndex: number) => D[];
|
||||
|
||||
Reference in New Issue
Block a user