title: Module "ng" has no exported members in vs code
body: <p>I am getting the error messages <code>Module "ng" has no exported member</code> on all of my typings in visual studio code</p>
  
  <p><a href="https://i.stack.imgur.com/jfRbf.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/jfRbf.png" alt="enter image description here"></a></p>
  
  <p><a href="https://i.stack.imgur.com/G91IW.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/G91IW.png" alt="enter image description here"></a></p>
  
  <p>My typing are were working 100% until i added angular-ui-router. I am not sure if this is the problem but i only noticed it after adding that. </p>
  
  <p>In my <code>.d.ts</code> files i get a specific error on <code>angular</code> itself. </p>
  
  <p><a href="https://i.stack.imgur.com/Z9GUI.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Z9GUI.png" alt="enter image description here"></a></p>
  
  <p>My <code>tsd.json</code> looks like this</p>
  
  <pre><code>{
    "version": "v4",
    "repo": "borisyankov/DefinitelyTyped",
    "ref": "master",
    "path": "typings",
    "bundle": "typings/tsd.d.ts",
    "installed": {
      "angular-material/angular-material.d.ts": {
        "commit": "5a8fc5ee71701431e4fdbb80c506e3c13f85a9ff"
      },
      "jquery/jquery.d.ts": {
        "commit": "40c60850ad6c8175a62d5ab48c4e016ea5b3dffe"
      },
      "angularjs/angular.d.ts": {
        "commit": "40c60850ad6c8175a62d5ab48c4e016ea5b3dffe"
      },
      "angularjs/angular-route.d.ts": {
        "commit": "5a8fc5ee71701431e4fdbb80c506e3c13f85a9ff"
      },
      "angularjs/angular-cookies.d.ts": {
        "commit": "5a8fc5ee71701431e4fdbb80c506e3c13f85a9ff"
      },
      "angularjs/angular-animate.d.ts": {
        "commit": "5a8fc5ee71701431e4fdbb80c506e3c13f85a9ff"
      },
      "angularjs/angular-resource.d.ts": {
        "commit": "40c60850ad6c8175a62d5ab48c4e016ea5b3dffe"
      },
      "angular-ui-router/angular-ui-router.d.ts": {
        "commit": "40c60850ad6c8175a62d5ab48c4e016ea5b3dffe"
      }
    }
  }
  </code></pre>
  
  <p>I am a bit lost to what i have or have not done to mess this up. The weird thing is that everything still works 100%. So i am still getting intellsense for <code>ng.</code> It just says that there are errors and everytime i build i am getting multiply errors on all the files.</p>
  
  <p><strong>Update</strong></p>
  
  <p>I ended up commenting out <code>import ng = angular;</code> on line <code>17</code> and then changing <code>ng.auto.IInjectorService;</code> to <code>angular.auto.IInjectorService;</code> on line <code>173</code> in angular.d.ts</p>
  
  <p>This means that every reference in the angular app is now made with <code>angular</code> and not <code>ng</code> , which is not ideal but it will do for now. I am pretty sure this is not a "best practice" fix .</p>
  
  <p><a href="https://github.com/DefinitelyTyped/DefinitelyTyped/issues/7284" rel="nofollow noreferrer">https://github.com/DefinitelyTyped/DefinitelyTyped/issues/7284</a></p>