Skip to content

Commit

Permalink
feat(typings): import global-es6.d.ts in core
Browse files Browse the repository at this point in the history
Currently, importing from 'angular2/angular2', in addition to providing Angular tokens, brings in global-es6.d.ts. Since we are deprecating 'angular2/angular2', we need to do the same in 'angular2/core'.
  • Loading branch information
vsavkin committed Dec 4, 2015
1 parent d388c0a commit 22e9590
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/broccoli/trees/node_tree.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ module.exports = function makeNodeTree(projects, destinationPath) {
// because of the duplicate definitions.
// TODO(alexeagle): remove this when typescript releases a fix
nodeTree = replace(nodeTree, {
files: ['angular2/angular2.d.ts'],
files: ['angular2/core.d.ts', 'angular2/angular2.d.ts'],
patterns: [{match: /$/, replacement: 'import "./manual_typings/globals-es6.d.ts";\r\n'}]
});

Expand Down

0 comments on commit 22e9590

Please sign in to comment.