Skip to content

Commit

Permalink
fix(types): expose missing JSX.Element on h (#5944)
Browse files Browse the repository at this point in the history
  • Loading branch information
Andarist committed Aug 19, 2024
1 parent 307b242 commit 958c826
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/declarations/stencil-public-runtime.ts
Original file line number Diff line number Diff line change
Expand Up @@ -619,6 +619,8 @@ export declare namespace h {
export function h(sel: any, data: VNodeData | null, children: VNode): VNode;

export namespace JSX {
interface Element extends LocalJSX.Element {}

interface IntrinsicElements extends LocalJSX.IntrinsicElements, JSXBase.IntrinsicElements {
[tagName: string]: any;
}
Expand Down

0 comments on commit 958c826

Please sign in to comment.