From 7c67fa77b22bd877d9e96c825404ec02732b47fd Mon Sep 17 00:00:00 2001 From: Erika <3019731+Princesseuh@users.noreply.github.com> Date: Wed, 30 Aug 2023 17:03:16 +0200 Subject: [PATCH] config: set proper default config on framework-react example (#8289) Co-authored-by: Nate Moore --- examples/framework-react/tsconfig.json | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/examples/framework-react/tsconfig.json b/examples/framework-react/tsconfig.json index d78f81ec4..e726bd0b9 100644 --- a/examples/framework-react/tsconfig.json +++ b/examples/framework-react/tsconfig.json @@ -1,3 +1,7 @@ { - "extends": "astro/tsconfigs/base" + "extends": "astro/tsconfigs/base", + "compilerOptions": { + "jsx": "react-jsx", + "jsxImportSource": "react" + } }