title: Difference between import http = require('http'); and import * as http from 'http';?
body: <p>I haven't been able to find a worthwhile NodeJS with Typescript tutorial out there so I'm diving in unguided and sure enough I have a question.</p>
  
  <p>I don't understand the difference between these two lines:</p>
  
  <pre><code>import * as http from 'http';
  // and
  import http = require('http');
  </code></pre>
  
  <p>They seem to function the same way but I imagine there's probably some nuance to their behavior or else one of them probably wouldn't exist.</p>
  
  <p>I do understand that the first approach could let me selectively import from a module but if I'm importing all of the module then is there a difference between the two? Is there a preferred way? What if I'm importing from my own files, does that change anything?</p>