title: Vue + TypeScript override `export default Vue`
body: <p>I am trying to use Vue and TypeScript. I am trying to compile to AMD in my tsconfig.</p>
  
  <p>The type definition that comes with Vue.js states in vue/types/index.d.ts</p>
  
  <pre><code>export default Vue;
  </code></pre>
  
  <p>However, that causes typescript to compile this:</p>
  
  <pre><code>import Vue as "vue";
  export default Vue.extend({ ... });
  </code></pre>
  
  <p>essentially, into this:</p>
  
  <pre><code>define(["vue"], function(vue) {
    exports.default = vue.default.extend({  ... })
  });
  </code></pre>
  
  <p>Notice, that it believes vue should have a property .default, which it does not. Is there anyway to write a type definition that overrides the default vue type definition that states something like:</p>
  
  <pre><code>export = Vue;
  </code></pre>
  
  <p>or some flag in tsconfig that tells typescript not to add that .default property to the compiled AMD module?</p>