Skip to content

Commit

Permalink
fix: unable to evaluate instanceof AjaxError
Browse files Browse the repository at this point in the history
  • Loading branch information
voliva committed Apr 27, 2021
1 parent 1f7b9c5 commit fb6e5a3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/internal/ajax/errors.ts
Expand Up @@ -40,7 +40,6 @@ export interface AjaxError extends Error {
export interface AjaxErrorCtor {
/**
* Internal use only. Do not manually create instances of this type.
* @internal
*/
new (message: string, xhr: XMLHttpRequest, request: AjaxRequest): AjaxError;
}
Expand Down Expand Up @@ -80,7 +79,6 @@ export interface AjaxTimeoutError extends AjaxError {}
export interface AjaxTimeoutErrorCtor {
/**
* Internal use only. Do not manually create instances of this type.
* @internal
*/
new (xhr: XMLHttpRequest, request: AjaxRequest): AjaxTimeoutError;
}
Expand Down

0 comments on commit fb6e5a3

Please sign in to comment.