flow: tame the beast (coding style)

This commit is contained in:
Lyubo Marinov
2018-06-04 14:52:51 -05:00
parent 0817482b9c
commit cbd510bf7d
3 changed files with 15 additions and 2 deletions

View File

@@ -162,7 +162,7 @@ class Dialog extends AbstractDialog<Props, State> {
// * If this Dialog has children, they are to be rendered
// instead of Prompt's TextInput.
if (children) {
// $FlowFixMe
// $FlowExpectedError
el = children; // eslint-disable-line no-param-reassign
children = undefined;
}
@@ -173,7 +173,7 @@ class Dialog extends AbstractDialog<Props, State> {
if (style
&& (style = StyleSheet.flatten(style))
&& _TAG_KEY in style) {
// $FlowFixMe
// $FlowExpectedError
switch (style[_TAG_KEY]) {
case _SUBMIT_TEXT_TAG_VALUE:
if (this.state.submitting) {