X Tutup
Skip to content

Commit 9a65ea7

Browse files
vsavkinjelbourn
authored andcommitted
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';
1 parent c58e7e0 commit 9a65ea7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

modules/angular2/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,5 @@
1212
"@reactivex/rxjs": "<%= packageJson.dependencies['@reactivex/rxjs'] %>",
1313
"zone.js": "<%= packageJson.dependencies['zone.js'] %>"
1414
},
15-
"devDependencies": <%= JSON.stringify(packageJson.defaultDevDependencies) %>,
16-
"typings": "./angular2.d.ts"
15+
"devDependencies": <%= JSON.stringify(packageJson.defaultDevDependencies) %>
1716
}

0 commit comments

Comments
 (0)
X Tutup