title: Type check error while trying to call overloaded function
body: <p>I have an overloaded function:</p>
  <pre><code>function find(id: number);
  function find(id: string);
  function find(id: number | string) {
    // do stuff
  }
  </code></pre>
  <p>But when I try to call it like this, I get an error:</p>
  <pre><code>function test(id: string | number) {
    return find(id);
  }
  </code></pre>
  <p>Error - <code>No overload matches this call</code>. Is there any workaround?</p>