diff --git a/types/mui-datatables/index.d.ts b/types/mui-datatables/index.d.ts index 872ceea102..1ef382e2cb 100644 --- a/types/mui-datatables/index.d.ts +++ b/types/mui-datatables/index.d.ts @@ -183,11 +183,11 @@ export interface MUIDataTableOptions { ) => React.ReactNode; disableToolbarSelect?: boolean; download?: boolean; - downloadOptions?: { + downloadOptions?: Partial<{ filename: string; separator: string; - filterOptions?: { useDisplayedColumnsOnly: boolean; useDisplayedRowsOnly: boolean }; - }; + filterOptions: Partial<{ useDisplayedColumnsOnly: boolean; useDisplayedRowsOnly: boolean }>; + }>; elevation?: number; expandableRows?: boolean; expandableRowsOnClick?: boolean; @@ -255,7 +255,7 @@ export interface MUIDataTableOptions { setRowProps?: (row: any[], rowIndex: number) => object; sort?: boolean; sortFilterList?: boolean; - textLabels?: MUIDataTableTextLabels; + textLabels?: Partial; viewColumns?: boolean; }