From 5f258aaed035de857b68ff6d4c3b02ecd5e609b8 Mon Sep 17 00:00:00 2001 From: Sergey Tunnik Date: Mon, 11 Nov 2019 21:57:28 +0200 Subject: [PATCH] ExecuteResponse is implements Response interface from Fetch API. (#40303) --- types/xrm/index.d.ts | 33 +-------------------------------- 1 file changed, 1 insertion(+), 32 deletions(-) diff --git a/types/xrm/index.d.ts b/types/xrm/index.d.ts index cb03e72d2e..d8ff6bec56 100644 --- a/types/xrm/index.d.ts +++ b/types/xrm/index.d.ts @@ -4886,38 +4886,7 @@ declare namespace Xrm { /** * Interface for the WebAPI Execute request response */ - interface ExecuteResponse { - /** - * (Optional). Object.Response body. - */ - body: string; - /** - * Response headers. - */ - headers: any; - /** - * Indicates whether the request was successful. - */ - ok: boolean; - /** - * Numeric value in the response status code. - * @example 200 - */ - status: number; - /** - * Description of the response status code. - * @example "OK" - */ - statusText: string; - /** - * Response type.Values are: the empty string (default), "arraybuffer", "blob", "document", "json", and "text". - */ - type: string; - /** - * Request URL of the action, function, or CRUD request that was sent to the Web API endpoint. - */ - url: string; - } + interface ExecuteResponse extends Response { } } declare namespace XrmEnum {