diff --git a/public/app/core/components/Select/OptionGroup.tsx b/public/app/core/components/Select/OptionGroup.tsx index a001f58c681..2e955579ed4 100644 --- a/public/app/core/components/Select/OptionGroup.tsx +++ b/public/app/core/components/Select/OptionGroup.tsx @@ -2,7 +2,11 @@ import React, { PureComponent } from 'react'; import { GroupProps } from 'react-select/lib/components/Group'; interface ExtendedGroupProps extends GroupProps { - data: any; + data: { + label: string; + expanded: boolean; + options: any[]; + }; } interface State { @@ -15,8 +19,10 @@ export default class OptionGroup extends PureComponent option.value === value)) { this.setState({ expanded: true });