feat(core): add the find method to QueryList

This commit is contained in:
Thomas Shafer
2016-10-26 16:14:34 -07:00
committed by vsavkin
parent a318b57257
commit 7c16ef942e
3 changed files with 17 additions and 0 deletions

View File

@ -697,6 +697,7 @@ export declare class QueryList<T> {
last: T;
length: number;
filter(fn: (item: T, index: number, array: T[]) => boolean): T[];
find(fn: (item: T, index: number, array: T[]) => boolean): T;
forEach(fn: (item: T, index: number, array: T[]) => void): void;
map<U>(fn: (item: T, index: number, array: T[]) => U): U[];
notifyOnChanges(): void;