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
This commit is contained in:
NN
2015-02-10 16:32:30 +02:00
parent 35fffaa44b
commit 70e3022f3c

6
chrome/chrome.d.ts vendored
View File

@@ -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 {