Skip to content

Commit

Permalink
type
Browse files Browse the repository at this point in the history
  • Loading branch information
mbondyra committed Sep 10, 2020
1 parent e95af12 commit eebbbdb
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand All @@ -24,7 +24,7 @@ const defaultProps = {
},
setFilter: jest.fn(),
indexPattern: createMockedIndexPattern(),
Button: (onClick) => (
Button: (onClick: MouseEventHandler) => (
<div onClick={onClick} onKeyPress={onClick}>
trigger
</div>
Expand Down

0 comments on commit eebbbdb

Please sign in to comment.