Closed
Description
And possibly with other out
variations. Ideally, noEmit
should have priority over output related options.
Reasoning: I have a syntax checking script that should not actually write files. My build script relies on tsconfig.json
which has outDir
compiler option set.
Syntax check command:
> tsc --noEmit 2>&1 | pipe_it_somewhere_for_syntax_checking
Build command:
> tsc
tsconfig.json
{
...
"outDir": "build/"
...
}
Error: error TS5053: Option 'noEmit' cannot be specified with option 'outDir'.