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 b07bf6b commit a6e7af8Copy full SHA for a6e7af8
typings/events.d.ts
@@ -69,9 +69,9 @@ export type EventType =
69
| 'transitionEnd'
70
| 'doubleClick'
71
72
-export type FireFunction = (element: HTMLElement, event: Event) => boolean
+export type FireFunction = (element: Element, event: Event) => boolean
73
export type FireObject = {
74
- [K in EventType]: (element: HTMLElement, options?: {}) => boolean
+ [K in EventType]: (element: Element, options?: {}) => boolean
75
}
76
77
export const fireEvent: FireFunction & FireObject
0 commit comments