File tree 2 files changed +4
-5
lines changed
tools/public_api_guard/cdk
2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ import {
13
13
TreeKeyManagerItem ,
14
14
TreeKeyManagerStrategy ,
15
15
} from './tree-key-manager-strategy' ;
16
+ import { Provider } from '@angular/core' ;
16
17
17
18
// NoopTreeKeyManager is a "noop" implementation of TreeKeyMangerStrategy. Methods are noops. Does
18
19
// not emit to streams.
@@ -102,7 +103,7 @@ export function NOOP_TREE_KEY_MANAGER_FACTORY<
102
103
*
103
104
* @breaking -change 21.0.0
104
105
*/
105
- export const NOOP_TREE_KEY_MANAGER_FACTORY_PROVIDER = {
106
+ export const NOOP_TREE_KEY_MANAGER_FACTORY_PROVIDER : Provider = {
106
107
provide : TREE_KEY_MANAGER ,
107
108
useFactory : NOOP_TREE_KEY_MANAGER_FACTORY ,
108
109
} ;
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ import { NgZone } from '@angular/core';
17
17
import { Observable } from ' rxjs' ;
18
18
import { OnChanges } from ' @angular/core' ;
19
19
import { OnDestroy } from ' @angular/core' ;
20
+ import { Provider } from ' @angular/core' ;
20
21
import { QueryList } from ' @angular/core' ;
21
22
import { Signal } from ' @angular/core' ;
22
23
import { SimpleChanges } from ' @angular/core' ;
@@ -430,10 +431,7 @@ export const MESSAGES_CONTAINER_ID = "cdk-describedby-message-container";
430
431
export function NOOP_TREE_KEY_MANAGER_FACTORY<T extends TreeKeyManagerItem >(): TreeKeyManagerFactory <T >;
431
432
432
433
// @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 ;
437
435
438
436
// @public @deprecated
439
437
export class NoopTreeKeyManager <T extends TreeKeyManagerItem > implements TreeKeyManagerStrategy <T > {
You can’t perform that action at this time.
0 commit comments