@jaspero/ng-helpers
Version:
[](https://github.com/semantic-release/semantic-release) [](https://circleci.
8 lines • 335 B
TypeScript
export interface SimpleChange<T> {
firstChange: boolean;
previousValue: T;
currentValue: T;
isFirstChange: () => boolean;
}
export declare function OnChange<T = any>(callback: (value: T, simpleChange?: SimpleChange<T>) => void): (target: any, key: PropertyKey) => void;
//# sourceMappingURL=on-change.decorator.d.ts.map