Skip to content

Commit

Permalink
fix quickFilterFormatter type signature
Browse files Browse the repository at this point in the history
  • Loading branch information
cherniavskii committed Jul 10, 2023
1 parent 0c316e3 commit df534be
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export type GridToolbarQuickFilterProps = TextFieldProps & {
* @param {any[]} values The new values passed to the quick filter model
* @returns {string} The string to display in the text field
*/
quickFilterFormatter?: (values: GridFilterModel['quickFilterValues']) => string;
quickFilterFormatter?: (values: NonNullable<GridFilterModel['quickFilterValues']>) => string;
/**
* The debounce time in milliseconds.
* @default 500
Expand Down

0 comments on commit df534be

Please sign in to comment.