diff --git a/api_guard/dist/types/ajax/index.d.ts b/api_guard/dist/types/ajax/index.d.ts index 5fca4dce53..29be76b949 100644 --- a/api_guard/dist/types/ajax/index.d.ts +++ b/api_guard/dist/types/ajax/index.d.ts @@ -3,7 +3,7 @@ export declare const ajax: AjaxCreationMethod; export interface AjaxError extends Error { request: AjaxRequest; response: any; - responseType: string; + responseType: XMLHttpRequestResponseType; status: number; xhr: XMLHttpRequest; } @@ -19,7 +19,7 @@ export interface AjaxRequest { headers?: object; method?: string; password?: string; - progressSubscriber?: Subscriber; + progressSubscriber?: PartialObserver; responseType?: string; timeout?: number; url?: string;