TSConfig
listFiles
Print names of files part of the compilation. This is useful when you are not sure that TypeScript has included a file you expected.
For example:
example├── index.ts├── package.json└── tsconfig.json
With:
{" ": {" ": true}}
Would echo paths like:
$ npm run tscpath/to/example/node_modules/typescript/lib/lib.d.tspath/to/example/node_modules/typescript/lib/lib.es5.d.tspath/to/example/node_modules/typescript/lib/lib.dom.d.tspath/to/example/node_modules/typescript/lib/lib.webworker.importscripts.d.tspath/to/example/node_modules/typescript/lib/lib.scripthost.d.tspath/to/example/index.ts
Note if using TypeScript 4.2, prefer explainFiles
which offers an explanation of why a file was added too.