Skip to content

Commit d2c0387

Browse files
refactor: Export IntrinsicHTMLElements interface (#4885)
1 parent 68b30fe commit d2c0387

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

src/jsx.d.ts

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -141,9 +141,7 @@ export namespace JSXInternal {
141141
semantics: preact.SemanticsMathMLAttributes<MathMLElement>;
142142
}
143143

144-
export interface IntrinsicElements
145-
extends IntrinsicSVGElements,
146-
IntrinsicMathMLElements {
144+
export interface IntrinsicHTMLElements {
147145
a: preact.AccessibleAnchorHTMLAttributes<HTMLAnchorElement>;
148146
abbr: preact.HTMLAttributes<HTMLElement>;
149147
address: preact.HTMLAttributes<HTMLElement>;
@@ -262,4 +260,9 @@ export namespace JSXInternal {
262260
video: preact.VideoHTMLAttributes<HTMLVideoElement>;
263261
wbr: preact.WbrHTMLAttributes<HTMLElement>;
264262
}
263+
264+
export interface IntrinsicElements
265+
extends IntrinsicSVGElements,
266+
IntrinsicMathMLElements,
267+
IntrinsicHTMLElements {}
265268
}

0 commit comments

Comments
 (0)