-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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
Add --ignore-unrecognized-flags option #5393
Comments
The behavior is intentional to avoid having misspelled compiler options go unchecked. In this specific case, we can put pack the flag as "known", but not require it, for a release or so, until all tools have moved on. Before i do this, i would like to know what is the issue here, @basarat any idea why this would be an issue with atom? would that be something fixed by taking latest from master of release-1.7 branch. |
Yes definitely, mostly waiting on two bugs (linked here TypeStrong/atom-typescript#663) : #5278 (labeled as a bug needing fixing) & #5110 (not reproduced cause I don't have the test files ... so will probably update even without this) |
The default behaviour yes, but this is a request for a flag to circumvent this behaviour. |
closes #663 refs microsoft/TypeScript#5393 refs #643 @tomitrescak hopefully this doesn't break your code. If it does a code sample would be great 🌹
We keep the original issue in mind in the future. we should have a better deprication story for flags. sorry for the trouble. but i believe now migrating to latest atom-typescript safely. |
Now that #5231 I have a hard time using the latest version.
Atom complains that I need the flag to use async/await but the compiler errors if I do.
A
--ignore-unrecognized-flags
would be nice so one could pass newly removed options until other tools have been updated.The text was updated successfully, but these errors were encountered: