You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
tsc chokes on switches in --example=VALUE format #6758
I'm not super crazy about this idea. One problem is that that it only works if there are no blanks before or after the =. Another is that it doesn't work well for boolean options (at least not with the suggested implementation). For example, --declaration=true would become --declaration followed by true, and we'd go look for a file named true.ts.
Activity
DanielRosenwasser commentedon Jan 30, 2016
I'd be okay with this if the complexity of the command line parser didn't get too crazy. Mohamed Hegazy (@mhegazy) Ron Buckton (@rbuckton) Ryan Cavanaugh (@RyanCavanaugh) any thoughts?
ahejlsberg commentedon Jan 30, 2016
I'm not super crazy about this idea. One problem is that that it only works if there are no blanks before or after the
=. Another is that it doesn't work well for boolean options (at least not with the suggested implementation). For example,--declaration=truewould become--declarationfollowed bytrue, and we'd go look for a file namedtrue.ts.RyanCavanaugh commentedon Mar 15, 2016
Suggestions from ghosts are too spooky. If anyone would like this, please log a new issue.