https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-9.html#support-for-solution-style-tsconfigjson-files ```jsonc // tsconfig.json { files: [], references: [ { path: "./scripts/tsconfig.scripts.json" }, { path: "./frontend/tsconfig.frontend.json" }, { path: "./backend/tsconfig.backend.json" }, ], } ``` ```jsonc // scripts/tsconfig.scripts.json { "compilerOptions": { "strict": true, "esModuleInterop": true, "module": "CommonJS", "lib": ["ESNext"], "forceConsistentCasingInFileNames": true, "importsNotUsedAsValues": "error" }, "include": ["./**/*.ts"] } ``` `yarn ts-node scripts/foo.ts` should auto use `./scripts/tsconfig.scripts.json`