You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
466 B
15 lines
466 B
7 years ago
|
/* tslint:disable:max-classes-per-file variable-name */
|
||
|
declare module "stream-buffers" {
|
||
|
import * as stream from "stream";
|
||
|
|
||
|
export class ReadableStreamBuffer extends stream.Readable {
|
||
|
public constructor(options: { chunkSize: number, frequency: number });
|
||
|
public put(data: string): void;
|
||
|
public stop(): void;
|
||
|
}
|
||
|
|
||
|
export class WritableStreamBuffer extends stream.Writable {
|
||
|
public getContentsAsString(): string;
|
||
|
}
|
||
|
}
|