File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed
tools/public_api_guard/cdk Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ import {
1313 TreeKeyManagerItem ,
1414 TreeKeyManagerStrategy ,
1515} from './tree-key-manager-strategy' ;
16+ import { Provider } from '@angular/core' ;
1617
1718// NoopTreeKeyManager is a "noop" implementation of TreeKeyMangerStrategy. Methods are noops. Does
1819// not emit to streams.
@@ -102,7 +103,7 @@ export function NOOP_TREE_KEY_MANAGER_FACTORY<
102103 *
103104 * @breaking -change 21.0.0
104105 */
105- export const NOOP_TREE_KEY_MANAGER_FACTORY_PROVIDER = {
106+ export const NOOP_TREE_KEY_MANAGER_FACTORY_PROVIDER : Provider = {
106107 provide : TREE_KEY_MANAGER ,
107108 useFactory : NOOP_TREE_KEY_MANAGER_FACTORY ,
108109} ;
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ import { NgZone } from '@angular/core';
1717import { Observable } from ' rxjs' ;
1818import { OnChanges } from ' @angular/core' ;
1919import { OnDestroy } from ' @angular/core' ;
20+ import { Provider } from ' @angular/core' ;
2021import { QueryList } from ' @angular/core' ;
2122import { Signal } from ' @angular/core' ;
2223import { SimpleChanges } from ' @angular/core' ;
@@ -430,10 +431,7 @@ export const MESSAGES_CONTAINER_ID = "cdk-describedby-message-container";
430431export function NOOP_TREE_KEY_MANAGER_FACTORY<T extends TreeKeyManagerItem >(): TreeKeyManagerFactory <T >;
431432
432433// @public @deprecated
433- export const NOOP_TREE_KEY_MANAGER_FACTORY_PROVIDER: {
434- provide: InjectionToken <TreeKeyManagerFactory <any >>;
435- useFactory: typeof NOOP_TREE_KEY_MANAGER_FACTORY ;
436- };
434+ export const NOOP_TREE_KEY_MANAGER_FACTORY_PROVIDER: Provider ;
437435
438436// @public @deprecated
439437export class NoopTreeKeyManager <T extends TreeKeyManagerItem > implements TreeKeyManagerStrategy <T > {
You can’t perform that action at this time.
0 commit comments