title: How can I use Twilio node with TypeScript?
body: <p>My code is:</p>
  
  <pre><code>import * as twilio from 'twilio';
  import { IncomingCall } from '../models/IncomingCall';
  const VoiceResponse = twilio.twiml.VoiceResponse;
  export function incoming(requestBody: any): any {
    const twiml = new VoiceResponse();
  
    return IncomingCall.create({
      CallSid: requestBody.CallSid,
      From: requestBody.From,
      To: requestBody.To,
      rawData: requestBody
    });
  }
  </code></pre>
  
  <p>But I get an error when doing <code>new VoiceResponse()</code>:</p>
  
  <pre><code>[ts] Cannot use 'new' with an expression whose type lacks a call or construct signature.
  </code></pre>
  
  <p>I'm using Twilio v3.19.2</p>