From 70e3022f3ccfe17bbe853cf537b526bafc8cb014 Mon Sep 17 00:00:00 2001 From: NN Date: Tue, 10 Feb 2015 16:32:30 +0200 Subject: [PATCH] Type formData property. According to the documentation: "dictionary is present and for each key contains the list of all values for that key" . https://developer.chrome.com/extensions/webRequest --- chrome/chrome.d.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/chrome/chrome.d.ts b/chrome/chrome.d.ts index e3089152b0..b3b9949308 100755 --- a/chrome/chrome.d.ts +++ b/chrome/chrome.d.ts @@ -2309,10 +2309,14 @@ declare module chrome.webRequest { requestHeaders?: HttpHeader[]; } + interface FormData { + [key: string]: string[]; + } + interface RequestBody { raw?: UploadData; error?: string; - formData?: Object; + formData?: FormData; } interface OnBeforeRequestDetails extends CallbackDetails {