feat(core): remove typings from package.json to disallow 'import * as n from 'angular2'''

The typings property is being removed because angular2.ts is deprecated, and the developers should import from angular2/core and angular2/platform/*.  So aliasing angular2 to angular2/angular2 does not make sense.

BREAKING CHANGE

Before

import * as ng from 'angular2';

After

import * as core from 'angular2/core';
This commit is contained in:
vsavkin 2015-12-02 11:43:58 -08:00 committed by Jeremy Elbourn
parent c58e7e0e91
commit 9a65ea7ea7
1 changed files with 1 additions and 2 deletions

View File

@ -12,6 +12,5 @@
"@reactivex/rxjs": "<%= packageJson.dependencies['@reactivex/rxjs'] %>",
"zone.js": "<%= packageJson.dependencies['zone.js'] %>"
},
"devDependencies": <%= JSON.stringify(packageJson.defaultDevDependencies) %>,
"typings": "./angular2.d.ts"
"devDependencies": <%= JSON.stringify(packageJson.defaultDevDependencies) %>
}