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

@ -29,7 +29,8 @@ import {
AfterContentInit,
AfterContentChecked,
AfterViewInit,
AfterViewChecked
AfterViewChecked,
SimpleChange
} from 'angular2/core';
import {TEST_BINDINGS} from './test_bindings';
@ -115,7 +116,7 @@ class DirectiveWithoutModuleId {
class ComponentWithEverything implements OnChanges,
OnInit, DoCheck, OnDestroy, AfterContentInit, AfterContentChecked, AfterViewInit,
AfterViewChecked {
onChanges(changes: StringMap<string, any>): void {}
onChanges(changes: StringMap<string, SimpleChange>): void {}
onInit(): void {}
doCheck(): void {}
onDestroy(): void {}