We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c51aef9 commit c3c2ad1Copy full SHA for c3c2ad1
modules/angular2/src/core/compiler/element_injector.ts
@@ -150,7 +150,7 @@ export class TreeNode<T extends TreeNode<any>> {
150
get parent() { return this._parent; }
151
152
// TODO(rado): replace with a function call, does too much work for a getter.
153
- get children(): TreeNode<any>[] {
+ get children(): T[] {
154
var res = [];
155
var child = this._head;
156
while (child != null) {
0 commit comments