refactor(core): remove backwards compatibility of SimpleChange
BREAKING CHANGE: `SimnpleChange` now takes an additional argument that defines whether this is the first change or not.
This commit is contained in:
3
tools/public_api_guard/core/index.d.ts
vendored
3
tools/public_api_guard/core/index.d.ts
vendored
@ -842,8 +842,9 @@ export declare function setTestabilityGetter(getter: GetTestability): void;
|
||||
/** @stable */
|
||||
export declare class SimpleChange {
|
||||
currentValue: any;
|
||||
firstChange: boolean;
|
||||
previousValue: any;
|
||||
constructor(previousValue: any, currentValue: any, _isFirstChange?: boolean);
|
||||
constructor(previousValue: any, currentValue: any, firstChange: boolean);
|
||||
isFirstChange(): boolean;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user