X Tutup
Skip to content

Commit 22e9590

Browse files
committed
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'.
1 parent d388c0a commit 22e9590

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/broccoli/trees/node_tree.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ module.exports = function makeNodeTree(projects, destinationPath) {
125125
// because of the duplicate definitions.
126126
// TODO(alexeagle): remove this when typescript releases a fix
127127
nodeTree = replace(nodeTree, {
128-
files: ['angular2/angular2.d.ts'],
128+
files: ['angular2/core.d.ts', 'angular2/angular2.d.ts'],
129129
patterns: [{match: /$/, replacement: 'import "./manual_typings/globals-es6.d.ts";\r\n'}]
130130
});
131131

0 commit comments

Comments
 (0)
X Tutup