Skip to content

Commit

Permalink
chore: make type usage consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
quantizor committed Dec 4, 2024
1 parent 8920038 commit f1e6238
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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<ParserOutput = MarkdownToJSX.ParserResult> = {
match: (
Expand Down

0 comments on commit f1e6238

Please sign in to comment.