mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
change blob-stream type argument to be optional
This commit is contained in:
@@ -3,5 +3,5 @@
|
||||
|
||||
var bl = require('blob-stream');
|
||||
|
||||
var blob = bl.toBlob("aplication/PDF");
|
||||
var blob = bl.toBlob();
|
||||
var brl = bl.toBlobURL("app/JSON");
|
||||
|
||||
Vendored
+2
-2
@@ -10,8 +10,8 @@ declare function BlobStream(): BlobStream.IBlobStream;
|
||||
declare module BlobStream {
|
||||
|
||||
interface IBlobStream extends NodeJS.WritableStream{
|
||||
toBlob(type: string): Blob;
|
||||
toBlobURL(type: string): string;
|
||||
toBlob(type?: string): Blob;
|
||||
toBlobURL(type?: string): string;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user