title: Can I use function overloads in typescript with different type arrays as params
body: <pre><code>function handleArr(item: IUserInfo) 
  function handleArr(item: IGoods | IUserInfo) {
    // do something different for IUserInfo or IGoods
  }
  </code></pre>
  <p>I want to use funtion overloads for different params in above problems. Is there a property method for me to distinguish IGoods and IUserInfo</p>