title: error TS2365: Operator '!==' cannot be applied to types '"("' and '")"'
body: <pre><code>function myFunc(id: string) {
    id = "(";
  };
  
  let id: string = ")";
  if (id !== '(')
    throw "Expected '(' in prototype";
  
  myFunc(id);
  
  if (id !== ')')
    throw "Expected ')' in prototype";
  </code></pre>
  
  <p>If I do the change inline then I do not get the error below</p>
  
  <pre><code>error TS2365: Operator '!==' cannot be applied to types '"("' and '")"'.
  </code></pre>
  
  <p>The contents of the comparison dont matter. Any string a, basdasd, cqwe, etc. can be used in place of ( and )</p>