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