You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: types/globals.d.ts
+91-8Lines changed: 91 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -1147,19 +1147,102 @@ and limitations under the License.
1147
1147
* Copyright (c) Fastly Corporation, under the same license as the rest of the file.
1148
1148
*/
1149
1149
1150
+
typeBlobPart=BufferSource|Blob|string;
1151
+
typeEndingType="native"|"transparent";
1152
+
typeFormDataEntryValue=File|string;
1153
+
1154
+
interfaceBlobPropertyBag{
1155
+
endings?: EndingType;
1156
+
type?: string;
1157
+
}
1158
+
1159
+
interfaceFilePropertyBagextendsBlobPropertyBag{
1160
+
lastModified?: number;
1161
+
}
1162
+
1163
+
/**
1164
+
* A file-like object of immutable, raw data. Blobs represent data that isn't necessarily in a JavaScript-native format. The File interface is based on Blob, inheriting blob functionality and expanding it to support files on the user's system.
* Provides a way to easily construct a set of key/value pairs representing form fields and their values, which can then be easily sent using the XMLHttpRequest.send() method. It uses the same format a form would use if the encoding type were set to "multipart/form-data".
0 commit comments