From ed8ca8d93ae85367725132d72ff00cacd71185f4 Mon Sep 17 00:00:00 2001 From: Dmitry Semigradsky Date: Thu, 4 May 2023 18:10:33 +0300 Subject: [PATCH 1/2] doc: fix params names --- doc/api/stream.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/api/stream.md b/doc/api/stream.md index 8a60742b1eed95..4b204da5e8df51 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. From c98a66aec052d18b9b92cf8cfdf7f1ce2e149d6a Mon Sep 17 00:00:00 2001 From: Dmitry Semigradsky Date: Thu, 4 May 2023 18:12:05 +0300 Subject: [PATCH 2/2] doc: capitalize the first characters --- doc/api/assert.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/api/assert.md b/doc/api/assert.md index c764ff29034eb5..3dfa47d0b4f680 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';