diff --git a/index.d.ts b/index.d.ts index dd38ca4..b7d7d55 100644 --- a/index.d.ts +++ b/index.d.ts @@ -1,7 +1,6 @@ -import { TableProps } from '@material-ui/core/Table'; - declare module 'mui-table' { import React from 'react'; + import { TableProps } from '@material-ui/core/Table'; import { TableBodyProps } from '@material-ui/core/TableBody'; import { TablePaginationProps } from '@material-ui/core/TablePagination'; import { TableRowProps } from '@material-ui/core/TableRow'; @@ -64,5 +63,7 @@ declare module 'mui-table' { cellSelected?: string; }; } - export default class MuiTable extends React.Component> {} + export default class MuiTable extends React.Component< + MuiTableProps + > {} }