title: Typescript overload arrow functions
body: <p>So we can do:</p>
  
  <pre><code>export function myMethod (param: number) :number
  export function myMethod (param: string) :string
  
  export function myMethod (param: string | number): string | number {
    if (typeof param === 'string') {
      return param.toUpperCase()
    } else {
      return param + 1
    }
  }
  </code></pre>
  
  <p>Can I declare and implement it with arrow function?</p>
  
  <pre><code>export var myMethodArror = (param: string): string
  export var myMethodArror = (param: number): number
  
  export var myMethodArror = (param: string | number): string | number =&gt; {
  ..
  }
  </code></pre>
  
  <p>I am aware of that it is not possible to duplicate the variables declaration, but my question is: is it possible to make function overload using arrow notation?</p>