Installation
npm install --save @types/mute-stream
Summary
This package contains type definitions for mute-stream (https://github.com/isaacs/mute-stream#readme).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/mute-stream.
import { Duplex } from "stream";
declare namespace MuteStream {
interface Options {
replace?: string | undefined;
prompt?: string | undefined;
}
}
declare class MuteStream extends Duplex {
constructor(options?: MuteStream.Options);
mute: () => void;
unmute: () => void;
isTTY: boolean;
}
export = MuteStream;
Additional Details
- Last updated: Wed, 27 Sep 2023 09:42:16 GMT
- Dependencies: @types/node
- Global values: none
Credits
These definitions were written by Adam Jarret.