From a72c7321ed0f50a06cae12ab2c1b259d4e2b5e48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Burzy=C5=84ski?= Date: Wed, 14 Aug 2024 08:49:02 +0200 Subject: [PATCH] fix(types): expose missing `JSX.Element` on `h` --- src/declarations/stencil-public-runtime.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/declarations/stencil-public-runtime.ts b/src/declarations/stencil-public-runtime.ts index 85caf89d29e..5916ea13c37 100644 --- a/src/declarations/stencil-public-runtime.ts +++ b/src/declarations/stencil-public-runtime.ts @@ -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; }