summaryrefslogtreecommitdiff
path: root/examples/framework-preact
diff options
context:
space:
mode:
Diffstat (limited to 'examples/framework-preact')
-rw-r--r--examples/framework-preact/astro.config.mjs1
-rw-r--r--examples/framework-preact/tsconfig.json2
2 files changed, 2 insertions, 1 deletions
diff --git a/examples/framework-preact/astro.config.mjs b/examples/framework-preact/astro.config.mjs
index b1c8d1150..1d726f9fe 100644
--- a/examples/framework-preact/astro.config.mjs
+++ b/examples/framework-preact/astro.config.mjs
@@ -1,3 +1,4 @@
+// @ts-check
import { defineConfig } from 'astro/config';
import preact from '@astrojs/preact';
diff --git a/examples/framework-preact/tsconfig.json b/examples/framework-preact/tsconfig.json
index 50ad34429..c8983c2ef 100644
--- a/examples/framework-preact/tsconfig.json
+++ b/examples/framework-preact/tsconfig.json
@@ -1,5 +1,5 @@
{
- "extends": "astro/tsconfigs/base",
+ "extends": "astro/tsconfigs/strict",
"include": [".astro/types.d.ts", "**/*"],
"exclude": ["dist"],
"compilerOptions": {