refactor(core): cleanup code with side-effects which was preventing tree-shaking (#30580)

PR Close #30580
This commit is contained in:
Misko Hevery
2019-05-20 22:50:30 -07:00
parent a981dd2aab
commit fcdd784667
13 changed files with 72 additions and 197 deletions

View File

@ -1136,6 +1136,7 @@ export declare class QueryList<T> {
readonly first: T;
readonly last: T;
readonly length: number;
constructor();
destroy(): void;
filter(fn: (item: T, index: number, array: T[]) => boolean): T[];
find(fn: (item: T, index: number, array: T[]) => boolean): T | undefined;