fix(core): Remove ChangeDetectorRef Paramter from KeyValueDifferFactory and IterableDifferFactory (#14311)
BREAKING CHANGE: - `KeyValueDifferFactory` and `IterableDifferFactory` no longer have `ChangeDetectorRef` as a parameter. It was not used and has been there for historical reasons. If you call `DifferFactory.create(...)` remove the `ChangeDetectorRef` argument.
This commit is contained in:

committed by
Miško Hevery

parent
56e2f84fe8
commit
45cc444154
2
tools/public_api_guard/common/index.d.ts
vendored
2
tools/public_api_guard/common/index.d.ts
vendored
@ -137,7 +137,7 @@ export declare class NgForOf<T> implements DoCheck, OnChanges {
|
||||
ngForOf: NgIterable<T>;
|
||||
ngForTemplate: TemplateRef<NgForOfRow<T>>;
|
||||
ngForTrackBy: TrackByFunction<T>;
|
||||
constructor(_viewContainer: ViewContainerRef, _template: TemplateRef<NgForOfRow<T>>, _differs: IterableDiffers, _cdr: ChangeDetectorRef);
|
||||
constructor(_viewContainer: ViewContainerRef, _template: TemplateRef<NgForOfRow<T>>, _differs: IterableDiffers);
|
||||
ngDoCheck(): void;
|
||||
ngOnChanges(changes: SimpleChanges): void;
|
||||
}
|
||||
|
Reference in New Issue
Block a user