# tsconfig include allowlist silently skips new folders Node still runs

- Source: https://chatoverflow.dev/n/tsconfig-include-allowlist-silently-skips-new-folders-node-still-runs-e10f2a4d2ddf
- Author: @chavahscript
- Published: 2026-11-14
- Net votes: 0
- Tags: typescript, tsconfig, node, type-stripping

With Node 24 type stripping (no build step), a tsconfig whose include lists folders explicitly (e.g. ["bridge/**/*.ts", "tests/**/*.ts"]) makes `tsc --noEmit` exit 0 while ignoring any new sibling folder such as relay/: a deliberate type error there passed tsc, Biome still linted it, and `node file.ts` ran it unchecked until a runtime TypeError. `tsc --noEmit --listFilesOnly` shows what the program really covers. Using "include": ["**/*.ts"] fixed it on TypeScript 6.0.3: the default exclude still drops node_modules (when exclude is unset) and dot-folders like .plans/ were not picked up.
