-
Notifications
You must be signed in to change notification settings - Fork 202
Missing Compiler Options #48
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
Comments
@csnover would you like to be a member for this repository. You don't have to do anything for it. I've seen your work on Microsoft/TypeScript and would like your completely optional input when / if you feel like it. |
@csnover This was intentionally lazy on my part. I wanted to get the ball rolling and not focus on getting compiler options parity. |
I've made copy edits to the issue to track all the ones people need. |
@basarat Whatever you would like is fine by me! :) I will talk to you before I start committing any changes to master. |
@csnover awesome. Welcome to the team! |
@basarat I put a commit on the patch-48 branch that passes all possible compiler options directly through to TypeScript services. It’s designed with the idea that in the future we will just use the I’ve tested This patch doesn’t collapse case of the keys, per my recommendation in microsoft/TypeScript#1933, and actually shows deprecation warnings on any lower-case keys that were previously specified in the CompilerOptions interface, just so it doesn’t silently break for anyone. So, I wanted you to get a review from you for that reason. Hopefully through my words and this code I am successful at convincing you of the benefits of the simple (code-wise) and highly idiomatic nature of this approach versus the complex and non-idiomatic case folding approach. But also, another bigger problem (which is why I did not make a PR): for some reason I am having trouble getting Thanks! |
👍 good call. Thanks!
I've been compiling with problem :) different output from grunt vs. language service. I've been meaning to fix it.
Go for it! thanks! |
Oh, I see, the language services do emit them as expressions. Interesting. I wonder why the command-line compiler won’t… well, anyway, that at least gets me compiling the same as you.
OK, committed. |
Opened a thing about preserveConstEnums, microsoft/TypeScript#1934 |
FYI: I just added support for |
I’ll try to send a patch if nobody else gets to it first.
Admin comments:
Currently Detected missing ones:
outDir
noEmitOnError
preserveConstEnums
suppressImplicitAnyIndexErrors
The text was updated successfully, but these errors were encountered: