aboutsummaryrefslogtreecommitdiff
path: root/examples/framework-preact/tsconfig.json
diff options
context:
space:
mode:
Diffstat (limited to 'examples/framework-preact/tsconfig.json')
-rw-r--r--examples/framework-preact/tsconfig.json10
1 files changed, 10 insertions, 0 deletions
diff --git a/examples/framework-preact/tsconfig.json b/examples/framework-preact/tsconfig.json
new file mode 100644
index 000000000..c8983c2ef
--- /dev/null
+++ b/examples/framework-preact/tsconfig.json
@@ -0,0 +1,10 @@
+{
+ "extends": "astro/tsconfigs/strict",
+ "include": [".astro/types.d.ts", "**/*"],
+ "exclude": ["dist"],
+ "compilerOptions": {
+ // Preact specific settings
+ "jsx": "react-jsx",
+ "jsxImportSource": "preact"
+ }
+}