diff --git a/src/plugins/kibana_react/public/validated_range/validated_dual_range.tsx b/src/plugins/kibana_react/public/validated_range/validated_dual_range.tsx index 2bbf7652a74205..e7392eeba3830f 100644 --- a/src/plugins/kibana_react/public/validated_range/validated_dual_range.tsx +++ b/src/plugins/kibana_react/public/validated_range/validated_dual_range.tsx @@ -68,7 +68,8 @@ export class ValidatedDualRange extends Component { return null; } - state!: State; + // @ts-ignore state populated by getDerivedStateFromProps + state: State = {}; _onChange = (value: Value) => { const { isValid, errorMessage } = isRangeValid(