mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-29 01:45:49 +08:00
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.
This commit is contained in:
4
chrome/chrome.d.ts
vendored
4
chrome/chrome.d.ts
vendored
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user