mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
When filterAll is set, filterMethod must be a function that takes and returns any[]
This commit is contained in:
parent
1f04344d92
commit
e7be2c68fa
2
types/react-table/index.d.ts
vendored
2
types/react-table/index.d.ts
vendored
@ -23,7 +23,7 @@ export type ComponentPropsGetterC = (finalState: any, rowInfo?: undefined, colum
|
||||
export type ComponentPropsGetterRC = (finalState: any, rowInfo?: RowInfo, column?: Column, instance?: any) => object | undefined;
|
||||
|
||||
export type DefaultFilterFunction = (filter: Filter, row: any, column: any) => boolean;
|
||||
export type FilterFunction = (filter: Filter, rows: any[], column: any) => boolean;
|
||||
export type FilterFunction = (filter: Filter, rows: any[], column: any) => any[];
|
||||
export type SubComponentFunction = (rowInfo: RowInfo) => React.ReactNode;
|
||||
export type PageChangeFunction = (page: number) => void;
|
||||
export type PageSizeChangeFunction = (newPageSize: number, newPage: number) => void;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user