feat(QueryList): implement some() (#9464)

closes #9443
This commit is contained in:
Victor Berchet
2016-06-22 13:13:31 -07:00
committed by GitHub
parent 3d5bb23184
commit f6a410a4a8
4 changed files with 67 additions and 55 deletions

View File

@ -266,7 +266,7 @@ export class ListWrapper {
}
static flatten<T>(list: Array<T|T[]>): T[] {
var target: any[] /** TODO #???? */ = [];
var target: any[] = [];
_flattenArray(list, target);
return target;
}