Skip to content

Commit

Permalink
export ComponentWithChildren type
Browse files Browse the repository at this point in the history
  • Loading branch information
yasuaki640 committed Dec 19, 2024
1 parent 18f937d commit cee75d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/middleware/jsx-renderer/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ type Component = (
c: Context
) => HtmlEscapedString | Promise<HtmlEscapedString>

type ComponentWithChildren = (
export type ComponentWithChildren = (
props: PropsWithChildren<PropsForRenderer & { Layout: FC }>,
c: Context
) => HtmlEscapedString | Promise<HtmlEscapedString>
Expand Down

0 comments on commit cee75d6

Please sign in to comment.