@@ -1281,7 +1281,7 @@ export class QueryList<T> implements Iterable<T> {
1281
1281
get changes(): Observable <any >;
1282
1282
destroy(): void ;
1283
1283
// (undocumented)
1284
- readonly dirty = true ;
1284
+ readonly dirty: boolean ;
1285
1285
filter<S extends T >(predicate : (value : T , index : number , array : readonly T []) => value is S ): S [];
1286
1286
// (undocumented)
1287
1287
filter(predicate : (value : T , index : number , array : readonly T []) => unknown ): T [];
@@ -1296,6 +1296,7 @@ export class QueryList<T> implements Iterable<T> {
1296
1296
readonly length: number ;
1297
1297
map<U >(fn : (item : T , index : number , array : T []) => U ): U [];
1298
1298
notifyOnChanges(): void ;
1299
+ onDirty(cb : () => void ): void ;
1299
1300
reduce<U >(fn : (prevValue : U , curValue : T , curIndex : number , array : T []) => U , init : U ): U ;
1300
1301
reset(resultsTree : Array <T | any []>, identityAccessor ? : (value : T ) => unknown ): void ;
1301
1302
setDirty(): void ;
@@ -1598,6 +1599,12 @@ export type ViewChild = Query;
1598
1599
// @public
1599
1600
export const ViewChild: ViewChildDecorator ;
1600
1601
1602
+ // @public (undocumented)
1603
+ export function viewChild<T >(selector : ProviderToken <unknown > | Function | string , opts ? : {
1604
+ read? : any ;
1605
+ static? : boolean ;
1606
+ }): Signal <T | undefined >;
1607
+
1601
1608
// @public
1602
1609
export interface ViewChildDecorator {
1603
1610
(selector : ProviderToken <unknown > | Function | string , opts ? : {
@@ -1617,6 +1624,12 @@ export type ViewChildren = Query;
1617
1624
// @public
1618
1625
export const ViewChildren: ViewChildrenDecorator ;
1619
1626
1627
+ // @public (undocumented)
1628
+ export function viewChildren<T >(selector : ProviderToken <unknown > | Function | string , opts ? : {
1629
+ read? : any ;
1630
+ emitDistinctChangesOnly? : boolean ;
1631
+ }): Signal <T []>;
1632
+
1620
1633
// @public
1621
1634
export interface ViewChildrenDecorator {
1622
1635
(selector : ProviderToken <unknown > | Function | string , opts ? : {
0 commit comments