Skip to content

Commit

Permalink
Fix incorrect MUI definitions (#1683)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ross Solomon authored and gantoine committed Dec 26, 2017
1 parent 729ca94 commit c3112bc
Showing 1 changed file with 7 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1065,7 +1065,7 @@ declare module "material-ui/Menu/Menu" {
onExit?: TransitionCallback,
onExiting?: TransitionCallback,
onExited?: TransitionCallback,
onRequestClose?: Function,
onClose?: Function,
open?: boolean,
PaperProps?: Object,
PopoverClasses?: Object,
Expand Down Expand Up @@ -1153,7 +1153,7 @@ declare module "material-ui/Modal/Modal" {
onExit?: TransitionCallback,
onExiting?: TransitionCallback,
onExited?: TransitionCallback,
onRequestClose?: Function,
onClose?: Function,
show: boolean
}>;
}
Expand Down Expand Up @@ -1213,7 +1213,7 @@ declare module "material-ui/Popover/Popover" {
onExit?: TransitionCallback,
onExiting?: TransitionCallback,
onExited?: TransitionCallback,
onRequestClose?: Function,
onClose?: Function,
open: boolean,
PaperProps?: Object,
role?: string,
Expand Down Expand Up @@ -1379,7 +1379,7 @@ declare module "material-ui/Snackbar/Snackbar" {
onExited?: TransitionCallback,
onMouseEnter?: Function,
onMouseLeave?: Function,
onRequestClose?: (event: ?Event, reason: string) => void,
onClose?: (event: ?Event, reason: string) => void,
open: boolean,
SnackbarContentProps?: Object,
transition?: React$ComponentType<*>,
Expand Down Expand Up @@ -1783,8 +1783,8 @@ declare module "material-ui/Table/TableCell" {
classes?: Object,
className?: string,
component?: React$ElementType,
numeric: boolean,
padding: Padding
numeric?: boolean,
padding?: Padding
}>;
}
Expand Down Expand Up @@ -1949,10 +1949,7 @@ declare module "material-ui/TextField/TextField" {
helperText?: React$Node,
helperTextClassName?: string,
id?: string,
inputClassName?: string,
InputClassName?: string,
InputLabelProps?: Object,
inputProps?: Object,
InputProps?: Object,
inputRef?: Function,
label?: React$Node,
Expand Down Expand Up @@ -2013,7 +2010,7 @@ declare module "material-ui/Tooltip/Tooltip" {
disableTriggerHover?: boolean,
disableTriggerTouch?: boolean,
id?: string,
onRequestClose?: Function,
onClose?: Function,
onRequestOpen?: Function,
open?: boolean,
title: React$Node,
Expand Down

0 comments on commit c3112bc

Please sign in to comment.