Running tsc on an empty input set should result into an error. Most of the time this is an error in the configurations that the user did not intend.
For instance, see #11621.
{
"compilerOptions": {
"outDir": "src"
},
"include":[
"src/**/*"
]
}
This config file results in no input files, yet calling tsc on it produces no errors.
Running tsc on an empty input set should result into an error. Most of the time this is an error in the configurations that the user did not intend.
For instance, see #11621.
{ "compilerOptions": { "outDir": "src" }, "include":[ "src/**/*" ] }This config file results in no input files, yet calling
tscon it produces no errors.