From 93f1aa28560d8261a31a44a94e845f913c6f6b77 Mon Sep 17 00:00:00 2001 From: Dmitry Semigradsky Date: Sat, 6 May 2023 22:41:58 +0300 Subject: [PATCH] doc: fix params names PR-URL: https://github.com/nodejs/node/pull/47853 Reviewed-By: Luigi Pinca Reviewed-By: Harshitha K P --- doc/api/assert.md | 6 +++--- doc/api/stream.md | 6 +++--- 2 files changed, 6 insertions(+), 6 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'; diff --git a/doc/api/stream.md b/doc/api/stream.md index 629c0fa8ed822a..21bbfb6838a9a3 100644 --- a/doc/api/stream.md +++ b/doc/api/stream.md @@ -3354,7 +3354,7 @@ reader.read().then(({ value, done }) => { added: v19.9.0 --> -* {boolean} objectMode +* `objectMode` {boolean} * Returns: {integer} Returns the default highWaterMark used by streams. @@ -3366,8 +3366,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.