From f55001a3f38416a6aa9e5aa4a4530dc215a032bd Mon Sep 17 00:00:00 2001 From: Ritesh Kumar Date: Wed, 19 Feb 2020 15:35:14 +0530 Subject: [PATCH] fixes --- pages/api/flow-to-typescript.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 };