-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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
tsc --init issues #20961
Comments
Hm, so those above are the options I'm personally familiar with, but if I compare the init generated tsconfig with the json schema there are actually 29 compiler options not included:
I guess there's an argument that some of those options wouldn't be very helpful to include in the generated config at all (like encoding options) but there's certainly some that I would expect to be there. |
The list of options provided by |
So the list as it shows now is limited to what we have deemed worthy of inclusion. i personally do not see so what is this bug tracking? including them all?(do not think this is a good idea) or just specific ones? (if so which)? |
There's also the comment for Also, maybe it's just me but I was surprised there are so many options not listed in the generated config, I kind of thought it was all the options, though I can see why it isn't and shouldn't be -- would it be excessive to include a comment in there that there are additional compiler options? |
well.. part of it is that some of these options are not really used. we can not remove them for back compat purposes.. for instance to see all options supported by the compiler, try |
feel free to send a PR to remove the colon from the message |
TypeScript Version: 2.6.2
Code
Expected behavior:
Includes all compiler options and valid values.
Actual behavior:
forceConsistentCasingInFileNames
,skipLibCheck
,pretty
,allowUnusedLabels
,allowUnreachableCode
,suppressImplicitAnyIndexErrors
optionslib
is/* Specify library files to be included in the compilation: */
(nothing after the colon)The text was updated successfully, but these errors were encountered: