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.
This commit is contained in:
手瓜一十雪 2026-02-01 17:08:46 +08:00
parent 447f86e2b5
commit 286b0e03f7

View File

@ -6,9 +6,6 @@
"lib": [ "lib": [
"ES2021" "ES2021"
], ],
"typeRoots": [
"./node_modules/@types"
],
"esModuleInterop": true, "esModuleInterop": true,
"outDir": "dist", "outDir": "dist",
"noEmit": false, "noEmit": false,