From db8ff56629e74e8c997947b8d3960db64c1ce4f9 Mon Sep 17 00:00:00 2001 From: Luigi Pinca Date: Wed, 27 Nov 2024 15:24:53 +0100 Subject: [PATCH] doc: move history entry to class description Move the history entry for the `TextDecoder` class into the class description itself instead of its constructor. Refs: https://github.com/nodejs/node/issues/55938 PR-URL: https://github.com/nodejs/node/pull/55991 Reviewed-By: Antoine du Hamel Reviewed-By: LiviaMedeiros --- doc/api/util.md | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/doc/api/util.md b/doc/api/util.md index fd181e3b299798..eb06e93c503811 100644 --- a/doc/api/util.md +++ b/doc/api/util.md @@ -1998,6 +1998,10 @@ The full list of formats can be found in [modifiers][]. An implementation of the [WHATWG Encoding Standard][] `TextDecoder` API. @@ -2076,14 +2080,6 @@ is not supported. ### `new TextDecoder([encoding[, options]])` - - * `encoding` {string} Identifies the `encoding` that this `TextDecoder` instance supports. **Default:** `'utf-8'`. * `options` {Object}