diff options
Diffstat (limited to 'examples/framework-react')
-rw-r--r-- | examples/framework-react/astro.config.mjs | 1 | ||||
-rw-r--r-- | examples/framework-react/tsconfig.json | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/examples/framework-react/astro.config.mjs b/examples/framework-react/astro.config.mjs index 4b5a68ec0..36ed34a5e 100644 --- a/examples/framework-react/astro.config.mjs +++ b/examples/framework-react/astro.config.mjs @@ -1,3 +1,4 @@ +// @ts-check import { defineConfig } from 'astro/config'; import react from '@astrojs/react'; diff --git a/examples/framework-react/tsconfig.json b/examples/framework-react/tsconfig.json index 866156f07..92a18df90 100644 --- a/examples/framework-react/tsconfig.json +++ b/examples/framework-react/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "astro/tsconfigs/base", + "extends": "astro/tsconfigs/strict", "include": [".astro/types.d.ts", "**/*"], "exclude": ["dist"], "compilerOptions": { |