title: Missing TypeScript type definitions for the @Angular packages in Angular 2
body: <p>Now that I have updated <a href="https://github.com/michaeloryl/angular2-bootstrap4-oauth2-webpack" rel="noreferrer">my application</a> to Angular2 v2.0.0-rc.1, I am once again seeing TypeScript compile error/warning messages when my application is being bundled in <a href="https://webpack.github.io/" rel="noreferrer">webpack</a>.  The messages come up for any of the <code>@angular</code> packages I reference from my TypeScript source files, such as these:</p>
  
  <pre><code>ERROR in ./src/app/app.ts
  (1,34): error TS2307: Cannot find module '@angular/core'.
  
  ERROR in ./src/app/app.ts
  (3,76): error TS2307: Cannot find module '@angular/common'.
  
  ERROR in ./src/app/app.ts
  (4,30): error TS2307: Cannot find module '@angular/http'.
  </code></pre>
  
  <p>With the earlier beta versions of Angular2, I got around similar message problems with classes like <code>Promise</code> and <code>Map</code> by including something like this at the top of my <code>app.ts</code> file.</p>
  
  <pre><code>///&lt;reference path="node_modules/angular2/typings/browser.d.ts"/&gt;
  </code></pre>
  
  <p>Is there a <code>d.ts</code> file for the <code>@angular</code> Angular2 packages that I can refer to to fix the problem?  So far it doesn't seem like the <code>typings</code> system has anything available:</p>
  
  <pre><code>MFO-Mac:angular2-oauth2 mfo$ typings search '@angular'
  No results found for search
  </code></pre>
  
  <p>Right now I have my TypeScript <code>tsconfig.json</code> file configured to target ES6.  But if I change it to target ES5 instead, I don't get these <code>@angular</code> errors, but I instead get errors for common ES6 classes like <code>Promise</code>, <code>Set</code>, and <code>Map</code>.  Here's my file configured for ES6:</p>
  
  <pre><code>{
    "version": "1.6.2",
    "compilerOptions": {
      "emitDecoratorMetadata": true,
      "experimentalDecorators": true,
      "target": "es6",
      "module": "commonjs",
      "removeComments": true,
      "sourceMap": true
    },
    "exclude": [
      "node_modules",
      "bower_components",
      "bootstrap"
    ],
    "files": [],
    "definitions": [
    ]
  }
  </code></pre>
  
  <p>I suspect that there are files in <code>node_modules/@angular</code> that I could list in the <code>definitions</code> section of the <code>tsconfig.json</code> file, but I don't currently know enough about how TypeScript typedef files work.</p>
  
  <p>If there is another way to get around this problem, I'd certainly be open to that as well.</p>