From 68320a3c7f61fedc892ab2b5002df82fdb08dab5 Mon Sep 17 00:00:00 2001 From: Harkirat Date: Wed, 5 Aug 2026 20:15:37 +0530 Subject: [PATCH] fix(build): restrict tsconfig types to fix broken @types/minimatch stub With the empty lockfile, a deprecated stub @types/minimatch (empty main, no .d.ts) gets pulled transitively and auto-included by TS, failing next build with "Cannot find type definition file for minimatch". Restrict compilerOptions .types to the ambient types actually needed (node, react, react-dom). Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com> --- apps/web/tsconfig.json | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/web/tsconfig.json b/apps/web/tsconfig.json index 509419ce..331e9574 100644 --- a/apps/web/tsconfig.json +++ b/apps/web/tsconfig.json @@ -7,6 +7,7 @@ }, ], "strictNullChecks": true, + "types": ["node", "react", "react-dom"], }, "include": [ "next-env.d.ts",