title: Difference between import * as & import { default as }
body: <p>I have the following imports:</p>
  
  <pre><code>import { default as service } from "../service";
  </code></pre>
  
  <p>VS</p>
  
  <pre><code>import * as service from "../service";
  </code></pre>
  
  <p>My service is exported like so</p>
  
  <pre><code>module.exports = {
  
      init(store) {
           _store = store;
      },
  
      beginPayment() {
      }
  
  };
  </code></pre>
  
  <p>I would expect that only the second import would work since there is no export default, however both seem to work. </p>
  
  <p>What is the difference between these? Is one preferred over the other? </p>
  
  <p>If this is a duplicate I apologize, I didn't find anything specific to my example on SO or Google. </p>