diff --git a/pages/api/flow-to-typescript.ts b/pages/api/flow-to-typescript.ts index 2c02a40..0d73c77 100644 --- a/pages/api/flow-to-typescript.ts +++ b/pages/api/flow-to-typescript.ts @@ -19,7 +19,7 @@ export default (req: NextApiRequest, res: NextApiResponse) => { allowJs: true, declaration: true, emitDeclarationOnly: true, - jsx: ts.JsxEmit.Preserve, + jsx: ts.JsxEmit.React, skipDefaultLibCheck: true, skipLibCheck: true };