diff --git a/test/ts/preact.tsx b/test/ts/preact.tsx index 437b0032b6..0272fc3bef 100644 --- a/test/ts/preact.tsx +++ b/test/ts/preact.tsx @@ -386,6 +386,7 @@ createElement('option', { value: 'foo' }); // Should default to correct event target element for the attribute interface h('input', { onClick: e => e.currentTarget.capture }); createElement('input', { onClick: e => e.currentTarget.capture }); + e.currentTarget.capture} />; function Checkbox({ onChange }: JSX.HTMLAttributes) { function handleChange(