refactor(core): remove deprecated ChangeDetectionRef
argument in DifferFactory#create
(#18757)
BREAKING CHANGE: `DifferFactory.create` no longer takes ChangeDetectionRef as a first argument as it was not used and deprecated since v4. PR Close #18757
This commit is contained in:

committed by
Miško Hevery

parent
596e9f4e04
commit
be9713c6e2
2
tools/public_api_guard/core/core.d.ts
vendored
2
tools/public_api_guard/core/core.d.ts
vendored
@ -514,7 +514,6 @@ export interface IterableDiffer<V> {
|
||||
/** @stable */
|
||||
export interface IterableDifferFactory {
|
||||
create<V>(trackByFn?: TrackByFunction<V>): IterableDiffer<V>;
|
||||
/** @deprecated */ create<V>(_cdr?: ChangeDetectorRef | TrackByFunction<V>, trackByFn?: TrackByFunction<V>): IterableDiffer<V>;
|
||||
supports(objects: any): boolean;
|
||||
}
|
||||
|
||||
@ -557,7 +556,6 @@ export interface KeyValueDiffer<K, V> {
|
||||
/** @stable */
|
||||
export interface KeyValueDifferFactory {
|
||||
create<K, V>(): KeyValueDiffer<K, V>;
|
||||
/** @deprecated */ create<K, V>(_cdr?: ChangeDetectorRef): KeyValueDiffer<K, V>;
|
||||
supports(objects: any): boolean;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user