Skip to content

Commit

Permalink
doc: fix added: info for stream._construct()
Browse files Browse the repository at this point in the history
`readable._construct()` and `writable._construct()` were added to
Node.js v15.0.0 via fb8cc72.

Fixes: #36058

PR-URL: #36067
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Robert Nagy <ronagy@icloud.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
  • Loading branch information
lpinca authored and targos committed Nov 14, 2020
1 parent 5ceba53 commit b477447
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/api/stream.md
Original file line number Diff line number Diff line change
Expand Up @@ -1981,7 +1981,7 @@ const myWritable = new Writable({

#### `writable._construct(callback)`
<!-- YAML
added: v14.13.1
added: v15.0.0
-->

* `callback` {Function} Call this function (optionally with an error
Expand Down Expand Up @@ -2299,7 +2299,7 @@ const myReadable = new Readable({

#### `readable._construct(callback)`
<!-- YAML
added: v14.13.1
added: v15.0.0
-->

* `callback` {Function} Call this function (optionally with an error
Expand Down

0 comments on commit b477447

Please sign in to comment.