diff --git a/index.d.ts b/index.d.ts index 99b46bf..841e665 100644 --- a/index.d.ts +++ b/index.d.ts @@ -1,18 +1,4 @@ /// -/** 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. */ -declare interface FetchBlob extends Blob { - [Symbol.toStringTag]: 'Blob'; - stream: () => ReadableStream; - text: () => Promise; - arrayBuffer: () => Promise; - toString: () => '[object Blob]'; - -} - -declare const FetchBlob: { - prototype: FetchBlob; - new(blobParts?: BlobPart[], options?: BlobPropertyBag): FetchBlob; -}; - -export = FetchBlob; +/* global Blob */ +export = Blob;