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 354432a commit cc7b4f1Copy full SHA for cc7b4f1
packages/svelte2tsx/svelte-jsx.d.ts
@@ -39,7 +39,7 @@
39
//
40
// Event Handler Types
41
// ----------------------------------------------------------------------
42
- type EventHandler<E = Event, T = HTMLElement> = (event: E & { target: EventTarget & T}) => any;
+ type EventHandler<E = Event, T = HTMLElement> = (event: E & { currentTarget: EventTarget & T}) => any;
43
44
type ClipboardEventHandler<T> = EventHandler<ClipboardEvent, T>;
45
type CompositionEventHandler<T> = EventHandler<CompositionEvent, T>;
0 commit comments