We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 569344e commit cf20384Copy full SHA for cf20384
src/fireEvent.ts
@@ -5,7 +5,7 @@ import { getHostParent, isHostElement } from './helpers/component-tree';
5
import { filterNodeByType } from './helpers/filterNodeByType';
6
import { getHostComponentNames } from './helpers/host-component-names';
7
8
-type EventHandler = (...args: any) => unknown;
+type EventHandler = (...args: unknown[]) => unknown;
9
10
function isTextInput(element: ReactTestInstance) {
11
// We have to test if the element type is either the `TextInput` component
0 commit comments