From f1e6238174bc4830ef2f90a4e00c4a48b6d61308 Mon Sep 17 00:00:00 2001 From: Evan Jacobs Date: Wed, 4 Dec 2024 00:25:57 -0500 Subject: [PATCH] chore: make type usage consistent --- index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.tsx b/index.tsx index 65781eea..36f76c7f 100644 --- a/index.tsx +++ b/index.tsx @@ -1169,7 +1169,7 @@ export function compiler( ) } - function compile(input: string): JSX.Element { + function compile(input: string): React.JSX.Element { input = input.replace(FRONT_MATTER_R, '') let inline = false @@ -2277,7 +2277,7 @@ export namespace MarkdownToJSX { export type RuleOutput = ( ast: MarkdownToJSX.ParserResult | MarkdownToJSX.ParserResult[], state: MarkdownToJSX.State - ) => JSX.Element + ) => React.JSX.Element export type Rule = { match: (