chore(travis): enable the typescript@next build

Fixes #7050
This commit is contained in:
Alex Eagle 2016-04-10 13:24:41 -07:00 committed by Alex Eagle
parent d24df799d3
commit 347e71af7d
3 changed files with 2 additions and 4 deletions

View File

@ -64,8 +64,6 @@ matrix:
allow_failures:
- env: "MODE=saucelabs_optional"
- env: "MODE=browserstack_optional"
# Tracked in https://github.com/angular/angular/issues/7050
- env: "MODE=typescript_next"
addons:
firefox: "38.0"

View File

@ -35,7 +35,7 @@ export class MockConnection implements Connection {
response: ReplaySubject<Response>;
constructor(req: Request) {
this.response = take.call(new ReplaySubject(1), 1);
this.response = <any>take.call(new ReplaySubject(1), 1);
this.readyState = ReadyState.Open;
this.request = req;
}

View File

@ -159,7 +159,7 @@ export class Parse5DomAdapter extends DomAdapter {
var evt = <Event>{
type: eventType,
defaultPrevented: false,
preventDefault: () => { evt.defaultPrevented = true; }
preventDefault: () => { (<any>evt).defaultPrevented = true; }
};
return evt;
}