From 9a65ea7ea75428eba28b7fed6db5975b3b3573c0 Mon Sep 17 00:00:00 2001 From: vsavkin Date: Wed, 2 Dec 2015 11:43:58 -0800 Subject: [PATCH] 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'; --- modules/angular2/package.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/angular2/package.json b/modules/angular2/package.json index 536ebc4b45..2557f1fbd6 100644 --- a/modules/angular2/package.json +++ b/modules/angular2/package.json @@ -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) %> }