Skip to content

Commit 49875f0

Browse files
SemigradskyMoLow
authored andcommittedJul 6, 2023
doc: fix params names
PR-URL: #47853 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Harshitha K P <harshitha014@gmail.com>
1 parent 94b5eaa commit 49875f0

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed
 

‎doc/api/assert.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -444,9 +444,9 @@ added: v18.8.0
444444

445445
* `fn` {Function} a tracked function to reset.
446446

447-
reset calls of the call tracker.
448-
if a tracked function is passed as an argument, the calls will be reset for it.
449-
if no arguments are passed, all tracked functions will be reset
447+
Reset calls of the call tracker.
448+
If a tracked function is passed as an argument, the calls will be reset for it.
449+
If no arguments are passed, all tracked functions will be reset
450450

451451
```mjs
452452
import assert from 'node:assert';

‎doc/api/stream.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -3330,7 +3330,7 @@ reader.read().then(({ value, done }) => {
33303330
added: REPLACEME
33313331
-->
33323332

3333-
* {boolean} objectMode
3333+
* `objectMode` {boolean}
33343334
* Returns: {integer}
33353335

33363336
Returns the default highWaterMark used by streams.
@@ -3342,8 +3342,8 @@ Defaults to `16384` (16 KiB), or `16` for `objectMode`.
33423342
added: REPLACEME
33433343
-->
33443344

3345-
* {boolean} objectMode
3346-
* {integer} highWaterMark value
3345+
* `objectMode` {boolean}
3346+
* `value` {integer} highWaterMark value
33473347

33483348
Sets the default highWaterMark used by streams.
33493349

0 commit comments

Comments
 (0)
Please sign in to comment.