diff --git a/src/middleware/jsx-renderer/index.ts b/src/middleware/jsx-renderer/index.ts index a3f0f2eeb..f16f58368 100644 --- a/src/middleware/jsx-renderer/index.ts +++ b/src/middleware/jsx-renderer/index.ts @@ -25,7 +25,7 @@ type Component = ( c: Context ) => HtmlEscapedString | Promise -type ComponentWithChildren = ( +export type ComponentWithChildren = ( props: PropsWithChildren, c: Context ) => HtmlEscapedString | Promise