We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
TypeScript Version: Online repl
Code
var a = b ? (c) : d => e;
https://www.typescriptlang.org/play/index.html#src=var%20a%20%3D%20b%20%3F%20(c)%3A%20d%20%3D%3E%20e%3B
Expected behavior: It is valid javascript, thus it should be parsed correctly
Actual behavior: It is parsed as
var consequent = (c) : d => e var a = b ? consequent