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:
Tobias Bosch
2017-01-03 11:58:49 -08:00
committed by Igor Minar
parent db49d422f2
commit 465516b905
2 changed files with 4 additions and 8 deletions

View File

@ -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;
}