Skip to content

Commit

Permalink
Add back in last 2 ts-ignores. Build fails without focusable attribut…
Browse files Browse the repository at this point in the history
…e on EuiDualRange & No good alternatives for spread syntax in TS components
  • Loading branch information
Aaron Caldwell committed Mar 13, 2020
1 parent c5acf30 commit dabe3b9
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,8 @@ export class ValidatedDualRange extends Component<Props> {
value, // eslint-disable-line no-unused-vars
onChange, // eslint-disable-line no-unused-vars
allowEmptyRange, // eslint-disable-line no-unused-vars
...rest
// @ts-ignore
...rest // TODO: Consider alternatives for spread operator in component
} = this.props;

return (
Expand All @@ -115,6 +116,8 @@ export class ValidatedDualRange extends Component<Props> {
fullWidth={fullWidth}
value={this.state.value}
onChange={this._onChange}
// @ts-ignore
focusable={false} // remove when #59039 is fixed
{...rest}
/>
</EuiFormRow>
Expand Down

0 comments on commit dabe3b9

Please sign in to comment.