method WritableBase.prototype.emitWritableBase.prototype.emit(event: "close"): booleanDeprecatedParametersevent: "close"Return TypebooleanWritableBase.prototype.emit(event: "drain"): booleanDeprecatedParametersevent: "drain"Return TypebooleanWritableBase.prototype.emit(event: "error",err: Error,): booleanDeprecatedParametersevent: "error"err: ErrorReturn TypebooleanWritableBase.prototype.emit(event: "finish"): booleanDeprecatedParametersevent: "finish"Return TypebooleanWritableBase.prototype.emit(event: "pipe",src: Readable,): booleanDeprecatedParametersevent: "pipe"src: ReadableReturn TypebooleanWritableBase.prototype.emit(event: "unpipe",src: Readable,): booleanDeprecatedParametersevent: "unpipe"src: ReadableReturn TypebooleanWritableBase.prototype.emit(event: string | symbol,...args: any[],): booleanDeprecatedParametersevent: string | symbol<span>...args</span>: any[]Return Typeboolean