From eebbbdbcbb5c5dff3841858bd9c583f8d17c7959 Mon Sep 17 00:00:00 2001 From: Marta Bondyra Date: Thu, 10 Sep 2020 15:31:52 +0200 Subject: [PATCH] type --- .../operations/definitions/filters/filter_popover.test.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/x-pack/plugins/lens/public/indexpattern_datasource/operations/definitions/filters/filter_popover.test.tsx b/x-pack/plugins/lens/public/indexpattern_datasource/operations/definitions/filters/filter_popover.test.tsx index b27de9bf3a50d..76b4d186325bc 100644 --- a/x-pack/plugins/lens/public/indexpattern_datasource/operations/definitions/filters/filter_popover.test.tsx +++ b/x-pack/plugins/lens/public/indexpattern_datasource/operations/definitions/filters/filter_popover.test.tsx @@ -4,7 +4,7 @@ * you may not use this file except in compliance with the Elastic License. */ -import React from 'react'; +import React, { MouseEventHandler } from 'react'; import { shallow } from 'enzyme'; import { act } from 'react-dom/test-utils'; import { EuiPopover } from '@elastic/eui'; @@ -24,7 +24,7 @@ const defaultProps = { }, setFilter: jest.fn(), indexPattern: createMockedIndexPattern(), - Button: (onClick) => ( + Button: (onClick: MouseEventHandler) => (
trigger