title: 2739 Type is missing the following properties from type
body: <p>I'm trying to write an API service in a React app, using Axios and Typescript.</p>
  
  <p>This is my code:</p>
  
  <pre><code>interface Service&lt;T&gt; {
    GetAll?: Promise&lt;AxiosResponse&lt;T&gt;&gt;;
  }
  interface Example {
    id: Number;
  }
  
  const ApiService2 = () =&gt; {
    const Example = (): Service&lt;Example&gt; =&gt; {
      const GetAll = (): Promise&lt;AxiosResponse&lt;Example[]&gt;&gt; =&gt; {
        return axios.get&lt;Example[]&gt;("urlhere");
      };
      return {
        GetAll
      };
    };
  };
  </code></pre>
  
  <p>And this is my complete error:</p>
  
  <pre><code>Type '() =&gt; Promise&lt;AxiosResponse&lt;Example[]&gt;&gt;' is missing the following properties from type 'Promise&lt;AxiosResponse&lt;Example&gt;&gt;': then, catch, [Symbol.toStringTag], finally  TS2739
  </code></pre>