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-multiple/src/components/solid/SolidCounter.tsx | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'examples/framework-multiple/src/components/solid/SolidCounter.tsx')

diff --git a/examples/framework-multiple/src/components/solid/SolidCounter.tsx b/examples/framework-multiple/src/components/solid/SolidCounter.tsx
index 153feaddc..cb9219608 100644
--- a/examples/framework-multiple/src/components/solid/SolidCounter.tsx
+++ b/examples/framework-multiple/src/components/solid/SolidCounter.tsx
@@ -1,9 +1,9 @@
 /** @jsxImportSource solid-js */
 
-import { createSignal } from 'solid-js';
+import { createSignal, type JSX } from 'solid-js';
 
 /** A counter written with Solid */
-export default function SolidCounter({ children }) {
+export default function SolidCounter(props: { children?: JSX.Element }) {
 	const [count, setCount] = createSignal(0);
 	const add = () => setCount(count() + 1);
 	const subtract = () => setCount(count() - 1);
@@ -15,7 +15,7 @@ export default function SolidCounter({ children }) {
 				<pre>{count()}</pre>
 				<button onClick={add}>+</button>
 			</div>
-			<div class="counter-message">{children}</div>
+			<div class="counter-message">{props.children}</div>
 		</>
 	);
 }
-- 
cgit v1.2.3

