From 895a5ce3fc22d597993f56a0c1a08f060693ea3c Mon Sep 17 00:00:00 2001 From: Luigi Pinca Date: Mon, 25 Nov 2024 15:00:46 +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 --- 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 cf193528368188..e3731ff673fc22 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}