Skip to content

Commit

Permalink
fix(TypeScript): resolved typings issue for TS 3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
benlesh committed Jun 5, 2018
1 parent ad010ea commit bf2cdeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/internal/observable/dom/AjaxObservable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ export class AjaxSubscriber<T> extends Subscriber<Event> {
}
(<any>xhrProgress).progressSubscriber = progressSubscriber;
}
let xhrError: (e: ErrorEvent) => void;
let xhrError: (e: any) => void;
xhrError = function(this: XMLHttpRequest, e: ErrorEvent) {
const { progressSubscriber, subscriber, request } = (<any>xhrError);
if (progressSubscriber) {
Expand Down

0 comments on commit bf2cdeb

Please sign in to comment.