summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDmitry Semigradsky <semigradskyd@gmail.com>2023-05-06 22:41:58 +0300
committerGitHub <noreply@github.com>2023-05-06 19:41:58 +0000
commit281ef804c84f1a617823b60d209ae269c7a4a691 (patch)
treef3a0c7541373f236f6bd9654743aa12159e10e7f /doc
parent41b1e54db276f0fc3591eaece6f83b6b03923bc4 (diff)
downloadnode-new-281ef804c84f1a617823b60d209ae269c7a4a691.tar.gz
doc: fix params names
PR-URL: https://github.com/nodejs/node/pull/47853 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Harshitha K P <harshitha014@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/api/assert.md6
-rw-r--r--doc/api/stream.md6
2 files changed, 6 insertions, 6 deletions
diff --git a/doc/api/assert.md b/doc/api/assert.md
index c764ff2903..3dfa47d0b4 100644
--- a/doc/api/assert.md
+++ b/doc/api/assert.md
@@ -455,9 +455,9 @@ added:
* `fn` {Function} a tracked function to reset.
-reset calls of the call tracker.
-if a tracked function is passed as an argument, the calls will be reset for it.
-if no arguments are passed, all tracked functions will be reset
+Reset calls of the call tracker.
+If a tracked function is passed as an argument, the calls will be reset for it.
+If no arguments are passed, all tracked functions will be reset
```mjs
import assert from 'node:assert';
diff --git a/doc/api/stream.md b/doc/api/stream.md
index 8a60742b1e..4b204da5e8 100644
--- a/doc/api/stream.md
+++ b/doc/api/stream.md
@@ -3360,7 +3360,7 @@ reader.read().then(({ value, done }) => {
added: v19.9.0
-->
-* {boolean} objectMode
+* `objectMode` {boolean}
* Returns: {integer}
Returns the default highWaterMark used by streams.
@@ -3372,8 +3372,8 @@ Defaults to `16384` (16 KiB), or `16` for `objectMode`.
added: v19.9.0
-->
-* {boolean} objectMode
-* {integer} highWaterMark value
+* `objectMode` {boolean}
+* `value` {integer} highWaterMark value
Sets the default highWaterMark used by streams.