interface Blob { size : number ; type : string ; arrayBuffer () : Promise < ArrayBuffer > ; bytes () : Promise < Uint8Array > ; slice ( start ?: number , end ?: number , contentType ?: string ) : Blob ; stream () : ReadableStream < Uint8Array > ; text () : Promise < string > ; } Defined in node_modules/typescript/lib/lib.dom.d.ts:3434 Defined in node_modules/typescript/lib/lib.dom.d.ts:3451 Defined in node_modules/@types/node/buffer.d.ts:1913 Defined in node_modules/@types/node/buffer.d.ts:1919 PropertiesReadonly
size size : number
Defined in node_modules/typescript/lib/lib.dom.d.ts:3436 Readonly
type type : string
Defined in node_modules/typescript/lib/lib.dom.d.ts:3438 MethodsarrayBuffer arrayBuffer () : Promise < ArrayBuffer > Returns Promise < ArrayBuffer > Defined in node_modules/typescript/lib/lib.dom.d.ts:3440 bytes bytes () : Promise < Uint8Array > Returns Promise < Uint8Array > Defined in node_modules/typescript/lib/lib.dom.d.ts:3442 slice slice ( start ?: number , end ?: number , contentType ?: string ) : Blob Parameters Optional
start : number Optional
end : number Optional
contentType : string Defined in node_modules/typescript/lib/lib.dom.d.ts:3444 stream stream () : ReadableStream < Uint8Array > Returns ReadableStream < Uint8Array > Defined in node_modules/typescript/lib/lib.dom.d.ts:3446 text text () : Promise < string > Returns Promise < string > Defined in node_modules/typescript/lib/lib.dom.d.ts:3448
M M N E P V F C I C P M F P C P T T A A A T R
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.
MDN Reference