title: type checking seems to be subverted
body: <pre><code>function test(parm : number) {
      console.log(parm);
  }
  
  var x = '12';
  test(x); //does not compile as expected.
  test(&lt;any&gt;x); //no error or warning.  
  </code></pre>
  
  <p>Why do I not get a compiler error on the last line?  Any reference to the docs would be helpful. </p>
  
  <p>TIA</p>