From 286b0e03f70fa2778ad835e8b8109c53aa2af94e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=89=8B=E7=93=9C=E4=B8=80=E5=8D=81=E9=9B=AA?= Date: Sun, 1 Feb 2026 17:08:46 +0800 Subject: [PATCH] Add node types to package tsconfig; drop base typeRoots Enable Node typings for packages/napcat-image-size by adding "compilerOptions.types": ["node"] to its tsconfig.json. Remove the restrictive "typeRoots" entry from tsconfig.base.json so type resolution can be controlled per-package and won't be forced globally. --- tsconfig.base.json | 3 --- 1 file changed, 3 deletions(-) diff --git a/tsconfig.base.json b/tsconfig.base.json index 5a476d5f..31cb9338 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -6,9 +6,6 @@ "lib": [ "ES2021" ], - "typeRoots": [ - "./node_modules/@types" - ], "esModuleInterop": true, "outDir": "dist", "noEmit": false,