Skip to content

Allow --out to override --noEmit #7575

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
rtpg opened this issue Mar 18, 2016 · 1 comment
Closed

Allow --out to override --noEmit #7575

rtpg opened this issue Mar 18, 2016 · 1 comment
Labels
Duplicate An existing issue was already created

Comments

@rtpg
Copy link

rtpg commented Mar 18, 2016

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'.
@rtpg
Copy link
Author

rtpg commented Mar 18, 2016

Sorry, I just realised that #7397 is an exact duplicate of this issue.

@rtpg rtpg closed this as completed Mar 18, 2016
@RyanCavanaugh RyanCavanaugh added the Duplicate An existing issue was already created label Mar 18, 2016
@microsoft microsoft locked and limited conversation to collaborators Jun 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Duplicate An existing issue was already created
Projects
None yet
Development

No branches or pull requests

2 participants