title: Use Datejs in TypeScript
body: <p>How would you tell TypeScript to use Datejs as <code>Date</code> instead of the builtin <code>Date</code> object?</p>
  
  <p>I tried adding a reference to the js file and declaring Date as type <code>any</code> i.e. <code>declare var Date: any;</code> but this did nothing to fix the error.</p>
  
  <p><strong>EDIT:</strong>
  I found <a href="https://stackoverflow.com/questions/12701732/typescript-augmenting-built-in-types">this</a> question, but it talks about specifying a method to include.  I'm wondering if it's possible to leave it open ended and simply turn off type checking for Date;</p>