From d91f8e0c272f827290572722279cd1cb2f728930 Mon Sep 17 00:00:00 2001 From: Markus Heiden Date: Wed, 2 Feb 2022 21:23:09 +0100 Subject: [PATCH] Update HttpOptions according to documentation --- types/vue_resource.ts | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/types/vue_resource.ts b/types/vue_resource.ts index 2adca137..54a5c5be 100644 --- a/types/vue_resource.ts +++ b/types/vue_resource.ts @@ -26,15 +26,18 @@ export interface HttpResponse { export interface HttpOptions { url?: string; - method?: string; body?: any; - params?: any; headers?: any; - before?(request: any): any; - progress?(event: any): any; + params?: any; + method?: string; + responseType?: string; + timeout?: number; credentials?: boolean; emulateHTTP?: boolean; emulateJSON?: boolean; + before?(request: any): any; + uploadProgress?(event: any): any; + downloadProgress?(event: any): any; } export interface $http {