feat: add Blob definition

This commit is contained in:
Niklas Lindgren
2018-05-16 16:08:45 +01:00
parent eba02ef3a0
commit 2cbe57ed32
+6
View File
@@ -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;