From 11c517fec4290d9b3218a58f20190f7697261b2e Mon Sep 17 00:00:00 2001 From: NN Date: Tue, 10 Mar 2015 17:03:06 +0200 Subject: [PATCH] Update chrome.d.ts According to documentation https://developer.chrome.com/extensions/webRequest#type-UploadData array of UploadData (optional) raw any (optional) bytes : An ArrayBuffer with a copy of the data. --- chrome/chrome.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chrome/chrome.d.ts b/chrome/chrome.d.ts index bc0d52227..f67cb3949 100755 --- a/chrome/chrome.d.ts +++ b/chrome/chrome.d.ts @@ -2251,7 +2251,7 @@ declare module chrome.webRequest { } interface UploadData { - bytes?: any[]; + bytes?: ArrayBuffer; file?: string; } @@ -2329,7 +2329,7 @@ declare module chrome.webRequest { } interface RequestBody { - raw?: UploadData; + raw?: UploadData[]; error?: string; formData?: FormData; }