From 22e95909819807fb6909b458fe291019280b50d9 Mon Sep 17 00:00:00 2001 From: vsavkin Date: Fri, 4 Dec 2015 13:03:43 -0800 Subject: [PATCH] feat(typings): import global-es6.d.ts in core 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'. --- tools/broccoli/trees/node_tree.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/broccoli/trees/node_tree.ts b/tools/broccoli/trees/node_tree.ts index 29d911ddf2..9918046c00 100644 --- a/tools/broccoli/trees/node_tree.ts +++ b/tools/broccoli/trees/node_tree.ts @@ -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'}] });