From 9ea67ecf7250a455667799ba1c3fda78b902fbd4 Mon Sep 17 00:00:00 2001 From: openhands Date: Tue, 28 Jul 2026 19:25:13 +0200 Subject: [PATCH] fix: add useTypeScriptCli experimental flag for typescript 7 support --- next.config.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/next.config.ts b/next.config.ts index f2efe77a..47f5b0a7 100644 --- a/next.config.ts +++ b/next.config.ts @@ -40,6 +40,11 @@ const nextConfig: NextConfig = { // Disable Next.js telemetry productionBrowserSourceMaps: false, + // Enable TypeScript CLI integration for TypeScript 7 compatibility + experimental: { + useTypeScriptCli: true, + }, + // Add caching headers for static assets async headers() { return [ @@ -94,4 +99,4 @@ export default withBA( }, telemetry: false, }), -); +); \ No newline at end of file