diff --git a/jsx-runtime/src/index.d.ts b/jsx-runtime/src/index.d.ts index 499675aa5a..64470a8ad4 100644 --- a/jsx-runtime/src/index.d.ts +++ b/jsx-runtime/src/index.d.ts @@ -20,9 +20,6 @@ export function jsx

( props: Attributes & P & { children?: ComponentChild }, key?: string ): VNode; -export namespace jsx { - export import JSX = JSXInternal; -} export function jsxs( type: string, @@ -36,9 +33,6 @@ export function jsxs

( props: Attributes & P & { children?: ComponentChild[] }, key?: string ): VNode; -export namespace jsxs { - export import JSX = JSXInternal; -} export function jsxDEV( type: string, @@ -52,6 +46,5 @@ export function jsxDEV

( props: Attributes & P & { children?: ComponentChildren }, key?: string ): VNode; -export namespace jsxDEV { - export import JSX = JSXInternal; -} + +export { JSXInternal as JSX };