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}
}