mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-23 21:00:01 +08:00
21 lines
564 B
TypeScript
21 lines
564 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/DefinitelyTyped/DefinitelyTyped
|
|
|
|
/// <reference path="../node/node.d.ts" />
|
|
|
|
declare function BlobStream(): BlobStream.IBlobStream;
|
|
|
|
declare namespace BlobStream {
|
|
|
|
interface IBlobStream extends NodeJS.WritableStream{
|
|
toBlob(type?: string): Blob;
|
|
toBlobURL(type?: string): string;
|
|
}
|
|
}
|
|
|
|
declare module "blob-stream" {
|
|
export = BlobStream;
|
|
}
|