mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-16 11:02:11 +08:00
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:
6
chrome/chrome.d.ts
vendored
6
chrome/chrome.d.ts
vendored
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user