X Tutup
Skip to content

Commit 347e71a

Browse files
committed
chore(travis): enable the typescript@next build
Fixes angular#7050
1 parent d24df79 commit 347e71a

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

.travis.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,6 @@ matrix:
6464
allow_failures:
6565
- env: "MODE=saucelabs_optional"
6666
- env: "MODE=browserstack_optional"
67-
# Tracked in https://github.com/angular/angular/issues/7050
68-
- env: "MODE=typescript_next"
6967

7068
addons:
7169
firefox: "38.0"

modules/angular2/src/http/backends/mock_backend.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export class MockConnection implements Connection {
3535
response: ReplaySubject<Response>;
3636

3737
constructor(req: Request) {
38-
this.response = take.call(new ReplaySubject(1), 1);
38+
this.response = <any>take.call(new ReplaySubject(1), 1);
3939
this.readyState = ReadyState.Open;
4040
this.request = req;
4141
}

modules/angular2/src/platform/server/parse5_adapter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ export class Parse5DomAdapter extends DomAdapter {
159159
var evt = <Event>{
160160
type: eventType,
161161
defaultPrevented: false,
162-
preventDefault: () => { evt.defaultPrevented = true; }
162+
preventDefault: () => { (<any>evt).defaultPrevented = true; }
163163
};
164164
return evt;
165165
}

0 commit comments

Comments
 (0)
X Tutup