From 717c757a3cba7e9fed52b65ed4c286c691c8c618 Mon Sep 17 00:00:00 2001 From: Karl Horky Date: Mon, 24 Jun 2024 16:06:45 +0200 Subject: [PATCH] Import JSX to avoid tsc namespace error (#22) --- packages/remdx/types.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/remdx/types.tsx b/packages/remdx/types.tsx index 016e9b0..52d31c4 100644 --- a/packages/remdx/types.tsx +++ b/packages/remdx/types.tsx @@ -1,5 +1,5 @@ import type { useMDXComponents } from '@mdx-js/react'; -import type { CSSProperties, ReactNode } from 'react'; +import type { CSSProperties, JSX, ReactNode } from 'react'; export type MDXComponents = Parameters[0];