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
John Paul Bamberg 8 years ago
committed by Anna Henningsen
parent
commit
a6e416270d
No known key found for this signature in database GPG Key ID: D8B9F5AEAE84E4CF
  1. 2
      doc/api/stream.md

2
doc/api/stream.md

@ -1122,7 +1122,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