|
@@ -245,7 +245,7 @@ interface AriaAttributes {
|
|
|
'aria-valuetext'?: string
|
|
'aria-valuetext'?: string
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-export interface HTMLAttributes extends AriaAttributes {
|
|
|
|
|
|
|
+export interface HTMLAttributes extends AriaAttributes, EventHandlers<Events> {
|
|
|
innerHTML?: string
|
|
innerHTML?: string
|
|
|
|
|
|
|
|
class?: any
|
|
class?: any
|
|
@@ -734,7 +734,7 @@ export interface WebViewHTMLAttributes extends HTMLAttributes {
|
|
|
webpreferences?: string
|
|
webpreferences?: string
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-export interface SVGAttributes extends AriaAttributes {
|
|
|
|
|
|
|
+export interface SVGAttributes extends AriaAttributes, EventHandlers<Events> {
|
|
|
innerHTML?: string
|
|
innerHTML?: string
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
@@ -1322,7 +1322,7 @@ type ReservedProps = {
|
|
|
| ((ref: Element | RuntimeCore.ComponentInternalInstance | null) => void)
|
|
| ((ref: Element | RuntimeCore.ComponentInternalInstance | null) => void)
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-type ElementAttrs<T> = T & EventHandlers<Events> & ReservedProps
|
|
|
|
|
|
|
+type ElementAttrs<T> = T & ReservedProps
|
|
|
|
|
|
|
|
type NativeElements = {
|
|
type NativeElements = {
|
|
|
[K in StringKeyOf<IntrinsicElementAttributes>]: ElementAttrs<
|
|
[K in StringKeyOf<IntrinsicElementAttributes>]: ElementAttrs<
|