Browse Source

doc: fix typo in streams.md

PR-URL: https://github.com/nodejs/node/pull/12428
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
v6.x
John Paul Bamberg 8 years ago
committed by Myles Borins
parent
commit
c6f3ebd774
No known key found for this signature in database GPG Key ID: 933B01F40B5CA946
  1. 2
      doc/api/stream.md

2
doc/api/stream.md

@ -1108,7 +1108,7 @@ implement streams using JavaScript's prototypal inheritance model.
First, a stream developer would declare a new JavaScript class that extends one First, a stream developer would declare a new JavaScript class that extends one
of the four basic stream classes (`stream.Writable`, `stream.Readable`, of the four basic stream classes (`stream.Writable`, `stream.Readable`,
`stream.Duplex`, or `stream.Transform`), making sure the call the appropriate `stream.Duplex`, or `stream.Transform`), making sure they call the appropriate
parent class constructor: parent class constructor:
```js ```js

Loading…
Cancel
Save