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: nodejs#36058
  • Loading branch information
lpinca committed Nov 10, 2020
1 parent dd0f8f1 commit fa94436
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 fa94436

Please sign in to comment.