From 9feed18c7c6b5962f40aa6cc950eb9cdff23aa2d Mon Sep 17 00:00:00 2001 From: Naiyuan Qing <145280634+NevilleQingNY@users.noreply.github.com> Date: Mon, 25 May 2026 09:39:23 +0800 Subject: [PATCH] fix(web): type mdx next config adapter --- apps/web/next.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/next.config.ts b/apps/web/next.config.ts index 087ba6afbe..775b62804a 100644 --- a/apps/web/next.config.ts +++ b/apps/web/next.config.ts @@ -75,6 +75,6 @@ const nextConfig: NextConfig = { // dynamic-import `.source/source.config.mjs` under the Turbopack Node evaluator // (see fumadocs#2658). `dev`/`build` scripts pass `--webpack` to opt out. // Drop the flag once fumadocs-mdx ships a Turbopack-compatible loader. -const withMDX = createMDX(); +const withMDX = createMDX() as (config: NextConfig) => NextConfig; export default withMDX(nextConfig);