From cee75d6784583672c8f20f71a490e87b9c05fbf0 Mon Sep 17 00:00:00 2001 From: yasuaki640 Date: Thu, 19 Dec 2024 22:54:26 +0900 Subject: [PATCH] export ComponentWithChildren type --- src/middleware/jsx-renderer/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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