Skip to content

Commit

Permalink
Fix location of TableProps import in typings
Browse files Browse the repository at this point in the history
  • Loading branch information
techniq committed Feb 15, 2019
1 parent 674b53b commit 84ec492
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions index.d.ts
Original file line number Diff line number Diff line change
@@ -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';
Expand Down Expand Up @@ -64,5 +63,7 @@ declare module 'mui-table' {
cellSelected?: string;
};
}
export default class MuiTable<T> extends React.Component<MuiTableProps<T>> {}
export default class MuiTable<T = any> extends React.Component<
MuiTableProps<T>
> {}
}

0 comments on commit 84ec492

Please sign in to comment.