mirror of
https://github.com/nodejs/node.git
synced 2026-11-27 17:52:27 -05:00
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>
This commit is contained in:
1 parent
060b63e91f
commit
984232cc2a
1 file changed
+1
-1
+1
-1
@@ -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
|
||||
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:
|
||||
|
||||
```js
|
||||
|
||||
Reference in new issue
Block a user