summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--examples/framework-react/tsconfig.json6
1 files changed, 5 insertions, 1 deletions
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"
+ }
}