diff --git a/doc/api/stream.md b/doc/api/stream.md index 9a722ca8ad289d..555372a7739597 100644 --- a/doc/api/stream.md +++ b/doc/api/stream.md @@ -1488,6 +1488,7 @@ added: v8.0.0 --> * `error` {Error} +* Returns: {this} Destroy the stream, and optionally emit an `'error'` event. After this call, the transform stream would release any internal resources.