Skip to content

Commit bf2cdeb

Browse files
committed
fix(TypeScript): resolved typings issue for TS 3.0
1 parent ad010ea commit bf2cdeb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/internal/observable/dom/AjaxObservable.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ export class AjaxSubscriber<T> extends Subscriber<Event> {
340340
}
341341
(<any>xhrProgress).progressSubscriber = progressSubscriber;
342342
}
343-
let xhrError: (e: ErrorEvent) => void;
343+
let xhrError: (e: any) => void;
344344
xhrError = function(this: XMLHttpRequest, e: ErrorEvent) {
345345
const { progressSubscriber, subscriber, request } = (<any>xhrError);
346346
if (progressSubscriber) {

0 commit comments

Comments
 (0)