mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-11-29 17:51:46 +00:00
feat: add Blob definition
This commit is contained in:
Vendored
+6
@@ -107,6 +107,12 @@ export class Headers implements Iterable<[string, string]> {
|
||||
[Symbol.iterator](): Iterator<[string, string]>;
|
||||
}
|
||||
|
||||
export class Blob {
|
||||
type: string;
|
||||
size: number;
|
||||
slice(start?: number, end?: number): Blob;
|
||||
}
|
||||
|
||||
export class Body {
|
||||
bodyUsed: boolean;
|
||||
body: NodeJS.ReadableStream;
|
||||
|
||||
Reference in New Issue
Block a user