title: Typescript don't really check function type?
body: <p>Giving the below code, type script compiler just don't raise any error, so it just don't check the parameter type of function? </p>
  
  <pre><code>var mySearch3:  (source: Person, subString: string)=&gt; boolean  = 
         function()     {return true;}
  </code></pre>