File Is Not Included In Any Tsconfig.json -
Here is a guide on why this happens and how to fix it for good. Why is this happening? TypeScript uses tsconfig.json
You are gradually migrating a JavaScript codebase to TypeScript. Your tsconfig.json has "allowJs": true and "checkJs": true . However, you add a new .js file outside the "include" pattern (e.g., a Webpack config file in the root). file is not included in any tsconfig.json
"extends": "../tsconfig.base.json", "compilerOptions": "outDir": "../dist/scripts" , "include": ["**/*.ts"], "exclude": ["node_modules"] Here is a guide on why this happens
You’ve accidentally excluded the directory containing the file. IDE Desync: "compilerOptions": "outDir": "../dist/scripts"
This feature would function as an intelligent IDE assistant that bridging the gap between the file system and your TypeScript configuration. Feature Name: Smart Project Adoption (SPA) 1. Contextual Quick-Fix: "Adopt Into Nearest Config"