chore: upgrade to ts2dart@0.9.9

This commit is contained in:
Misko Hevery
2016-04-25 21:31:46 -07:00
committed by Martin Probst
parent 46cd868827
commit d2527b504a
18 changed files with 178 additions and 119 deletions

View File

@ -351,7 +351,7 @@ export function main() {
.then((fixture) => {
fixture.detectChanges();
expect(fixture.debugElement.children[0].inject(Logger).log)
expect((<Logger>(fixture.debugElement.children[0].inject(Logger))).log)
.toEqual(['parent', 'nestedparent', 'child', 'nestedchild']);
async.done();

View File

@ -90,7 +90,7 @@ export function main() {
view.debugElement.componentInstance.shouldShow = true;
view.detectChanges();
var q = view.debugElement.children[0].references['q'];
var q: NeedsContentChild = view.debugElement.children[0].references['q'];
expect(q.log).toEqual([["setter", "foo"], ["init", "foo"], ["check", "foo"]]);
@ -117,7 +117,7 @@ export function main() {
.createAsync(MyComp)
.then((view) => {
view.detectChanges();
var q = view.debugElement.children[0].references['q'];
var q: NeedsViewChild = view.debugElement.children[0].references['q'];
expect(q.log).toEqual([["setter", "foo"], ["init", "foo"], ["check", "foo"]]);
@ -146,7 +146,7 @@ export function main() {
.createAsync(MyComp)
.then((view) => {
view.detectChanges();
var q = view.debugElement.children[0].references['q'];
var q: NeedsViewChild = view.debugElement.children[0].references['q'];
expect(q.log).toEqual([["setter", "foo"], ["init", "foo"], ["check", "foo"]]);