title: Why does this trigger an Identifier Expected error in Typescript?
body: <p>The second line in this statement causes an error. I understand if I wrap the lambda in parentheses it solves the problem as in the first line. I'm just curious why it is an error, as in JavaScript a lambda there would work fine.</p>
  
  <pre><code>var okay = true &amp;&amp; (() =&gt; {});
  var fails = true &amp;&amp; () =&gt; {};
  </code></pre>