Files
DefinitelyTyped/blob-stream/blob-stream.d.ts
2015-07-06 11:02:36 +02:00

21 lines
557 B
TypeScript

// Type definitions for blob-stream v0.1.3
// Project: https://github.com/devongovett/blob-stream
// Definitions by: Eric Hillah <https://github.com/erichillah>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
/// <reference path="../node/node.d.ts" />
declare function BlobStream(): BlobStream.IBlobStream;
declare module BlobStream {
interface IBlobStream extends NodeJS.WritableStream{
toBlob(type?: string): Blob;
toBlobURL(type?: string): string;
}
}
declare module "blob-stream" {
export = BlobStream;
}