Closed
Description
When setting up a default tsconfig.json
file, we had initially put noEmit: true
, so that people could run tsc to typecheck without generating a file (useful for some people's IDE configs and development styles).
It would be nice to be able to still use --out
(or perhaps some other keyword if noEmit
is meant to capture mistakes) so that we wouldn't need to modify our config to generate an output file, while not having people accidentally generate a bunch of files when calling without --out
.
Current behavior is:
╰─$ tsc --out test.tsout
error TS5053: Option 'noEmit' cannot be specified with option 'out'.