From c28e283c65cb8f1e3e3541b09bf166caccf53b44 Mon Sep 17 00:00:00 2001 From: Kiko Ruiz Lloret Date: Mon, 18 Dec 2023 16:58:09 +0100 Subject: [PATCH] fix(packages/sui-js-compiler): fix types --- packages/sui-js-compiler/test/server/src/example.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/sui-js-compiler/test/server/src/example.tsx b/packages/sui-js-compiler/test/server/src/example.tsx index d7e209472..e91998d4b 100644 --- a/packages/sui-js-compiler/test/server/src/example.tsx +++ b/packages/sui-js-compiler/test/server/src/example.tsx @@ -4,6 +4,6 @@ interface ThingProps { type?: 'inert' | 'moving' } -export default function Thing({name, type = 'moving'}: ThingProps): React.FC { +export default function Thing({name, type = 'moving'}: ThingProps): React.ReactElement { return
{name}
}