fix: add types for ts2dart's façade handling.

... in many, many places.
This commit is contained in:
Martin Probst
2015-06-11 18:50:41 -07:00
parent c4ecbf0a7f
commit f3d741854a
34 changed files with 259 additions and 213 deletions
@@ -15,7 +15,7 @@ import {PromiseWrapper} from 'angular2/src/facade/async';
export function main() {
describe('XHRImpl', () => {
var xhr;
var xhr: XHRImpl;
var url200 = '/base/modules/angular2/test/services/static_assets/200.html';
var url404 = '/base/modules/angular2/test/services/static_assets/404.html';
@@ -33,6 +33,7 @@ export function main() {
PromiseWrapper.catchError(xhr.get(url404), (e) => {
expect(e).toEqual(`Failed to load ${url404}`);
async.done();
return null;
});
}));
});
@@ -16,7 +16,7 @@ import {isPresent} from 'angular2/src/facade/lang';
export function main() {
describe('MockXHR', () => {
var xhr;
var xhr: MockXHR;
beforeEach(() => { xhr = new MockXHR(); });