From 8dceb5eb36226f1d097d02c47e1b24231dc333d1 Mon Sep 17 00:00:00 2001
From: Bjorn Lu <bjornlu.dev@gmail.com>
Date: Wed, 13 Mar 2024 17:35:33 +0800
Subject: Fix check example CI fail (#10415)

---
 examples/framework-preact/src/components/Message.tsx | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'examples/framework-preact/src/components/Message.tsx')

diff --git a/examples/framework-preact/src/components/Message.tsx b/examples/framework-preact/src/components/Message.tsx
index 2ae48d04b..58b798c14 100644
--- a/examples/framework-preact/src/components/Message.tsx
+++ b/examples/framework-preact/src/components/Message.tsx
@@ -1,5 +1,6 @@
+import type { ComponentChildren } from 'preact';
 import './Message.css';
 
-export default function Message({ children }) {
+export default function Message({ children }: { children: ComponentChildren }) {
 	return <div class="message">{children}</div>;
 }
-- 
cgit v1.2.3

