diff --git a/packages/runtime-dom/types/jsx.d.ts b/packages/runtime-dom/types/jsx.d.ts index 0d767fc0..5d6bf20f 100644 --- a/packages/runtime-dom/types/jsx.d.ts +++ b/packages/runtime-dom/types/jsx.d.ts @@ -245,7 +245,7 @@ interface AriaAttributes { 'aria-valuetext'?: string } -export interface HTMLAttributes extends AriaAttributes { +export interface HTMLAttributes extends AriaAttributes, EventHandlers { innerHTML?: string class?: any @@ -734,7 +734,7 @@ export interface WebViewHTMLAttributes extends HTMLAttributes { webpreferences?: string } -export interface SVGAttributes extends AriaAttributes { +export interface SVGAttributes extends AriaAttributes, EventHandlers { innerHTML?: string /** @@ -1322,7 +1322,7 @@ type ReservedProps = { | ((ref: Element | RuntimeCore.ComponentInternalInstance | null) => void) } -type ElementAttrs = T & EventHandlers & ReservedProps +type ElementAttrs = T & ReservedProps type NativeElements = { [K in StringKeyOf]: ElementAttrs<