feat(change detection): export SimpleChange

Closes #4337
This commit is contained in:
Victor Berchet
2015-09-23 11:43:31 -07:00
parent 711ab6d573
commit 0a88e7b736
8 changed files with 19 additions and 10 deletions

View File

@ -1,4 +1,5 @@
import {StringMap, MapWrapper} from 'angular2/src/core/facade/collection';
import {SimpleChange} from 'angular2/src/core/change_detection/change_detection_util';
export enum LifecycleHooks {
OnInit,
@ -60,7 +61,7 @@ export var LIFECYCLE_HOOKS_VALUES = [
* }
* ```
*/
export interface OnChanges { onChanges(changes: StringMap<string, any>); }
export interface OnChanges { onChanges(changes: StringMap<string, SimpleChange>); }
/**
* Notify a directive when it has been checked the first time.