Skip to content

Commit

Permalink
fix typescript error
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari committed Dec 31, 2018
1 parent ab6e835 commit f3f3bae
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
3 changes: 1 addition & 2 deletions packages/material-ui/src/Grid/Grid.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@ export type GridSize = 'auto' | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12
export interface GridProps
extends StandardProps<
React.HTMLAttributes<HTMLElement> & Partial<Record<Breakpoint, boolean | GridSize>>,
GridClassKey,
'hidden'
GridClassKey
> {
alignContent?: GridContentAlignment;
alignItems?: GridItemsAlignment;
Expand Down
3 changes: 2 additions & 1 deletion packages/material-ui/src/TableCell/TableCell.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ import { StandardProps } from '..';
* Since it is not decided via prop, we have create loose typings
* here.
*/
export interface TableCellProps extends StandardProps<TableCellBaseProps, TableCellClassKey> {
export interface TableCellProps
extends StandardProps<TableCellBaseProps, TableCellClassKey, 'align'> {
align?: 'inherit' | 'left' | 'center' | 'right' | 'justify';
component?: React.ReactType<TableCellBaseProps>;
numeric?: boolean;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export interface LabelDisplayedRowsArgs {
}

export interface TablePaginationProps
extends StandardProps<TablePaginationBaseProps, TablePaginationClassKey> {
extends StandardProps<TablePaginationBaseProps, TablePaginationClassKey, 'component'> {
ActionsComponent?: React.ReactType<TablePaginationActionsProps>;
backIconButtonProps?: Partial<IconButtonProps>;
component?: React.ReactType<TablePaginationBaseProps>;
Expand Down

0 comments on commit f3f3bae

Please sign in to comment.