mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-10 11:40:16 +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:
Vendored
+2
-2
@@ -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