File Is Not Included In Any Tsconfig.json Here

// scripts/tsconfig.json

"compilerOptions": "strict": true, "esModuleInterop": true, "skipLibCheck": true, "forceConsistentCasingInFileNames": true

# Instead of: project/tool.ts # Move to: project/src/tool.ts mv tool.ts src/ Common include patterns: "include": [ "src/**/*.ts", // All TS files in src "src/**/*.tsx", // React TSX files "test/**/*.spec.ts", // Test files "config/*.ts" // Root config files ]

For monorepos with multiple projects:

"extends": "../../tsconfig.base.json", "compilerOptions": "composite": true, "outDir": "./dist" , "include": ["src/**/*"], "references": [ "path": "../shared" ]

"compilerOptions": "rootDir": "./src", "outDir": "./dist" , "include": ["src/**/*"]

// tsconfig.json

Move the problematic file into an already-included directory:

"compilerOptions": "target": "ES2020" , "files": [ "src/index.ts", "src/utils/helper.ts", "scripts/deploy.ts" // Your specific file ]

"typescript.tsserver.experimental.enableProjectDiagnostics": true, "typescript.tsserver.maxTsServerMemory": 4096 file is not included in any tsconfig.json

"extends": "./tsconfig.base.json", "include": ["src/**/*"]

"extends": "../tsconfig.base.json", "compilerOptions": "outDir": "../dist/scripts" , "include": ["**/*.ts"], "exclude": ["node_modules"]

// packages/api/tsconfig.json

"files": [], "references": [ "path": "./packages/core" , "path": "./packages/web" , "path": "./scripts" ]