title: Using supertest in TypeScript - Getting problem "cannot invoke expression whose type lacks a call signature"
body: <p>I am trying to use <code>supertest</code> with TypeScript after initially using with JavaScript.</p>
  
  <p>However I am now receiving red squiggles under my code stating:</p>
  
  <blockquote>
    <p>cannot invoke expression whose type lacks a call signature. Type 'typeof supertest' has no compatible call signatures</p>
  </blockquote>
  
  <p>I am using supertest in the following way:</p>
  
  <pre><code>import * as supertest from 'supertest';
  
  const request = superTest(some.url);
  
  // Forgive my pseudocode
  function makeRequest() {
    return request.get('/endpoint')...
  }
  </code></pre>
  
  <p>Is this something I should be worried about? How can I correct this?</p>