We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
instanceof AjaxError
1 parent 1f7b9c5 commit 3ede978Copy full SHA for 3ede978
src/internal/ajax/errors.ts
@@ -37,7 +37,7 @@ export interface AjaxError extends Error {
37
response: any;
38
}
39
40
-export interface AjaxErrorCtor {
+export interface AjaxErrorCtor extends Function {
41
/**
42
* Internal use only. Do not manually create instances of this type.
43
* @internal
@@ -77,7 +77,7 @@ export const AjaxError: AjaxErrorCtor = createErrorClass(
77
78
export interface AjaxTimeoutError extends AjaxError {}
79
80
-export interface AjaxTimeoutErrorCtor {
+export interface AjaxTimeoutErrorCtor extends Function {
81
82
83
0 commit comments