From b2c50935424f99337c164893c2149b78c8e675ec Mon Sep 17 00:00:00 2001 From: Shelley Vohr Date: Tue, 27 Jan 2026 11:02:51 +0100 Subject: [PATCH] docs: correct type for `process.noDeprecation` (#49524) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * docs: correct type for process.noDeprecation * docs: mark `noDeprecation` as optional instead Co-authored-by: René --------- Co-authored-by: David Sanders Co-authored-by: René --- docs/api/process.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api/process.md b/docs/api/process.md index 91e42942ff..78685084d2 100644 --- a/docs/api/process.md +++ b/docs/api/process.md @@ -71,7 +71,7 @@ will disable the support for `asar` archives in Node's built-in modules. ### `process.noDeprecation` -A `boolean` that controls whether or not deprecation warnings are printed to `stderr`. +A `boolean` (optional) that controls whether or not deprecation warnings are printed to `stderr`. Setting this to `true` will silence deprecation warnings. This property is used instead of the `--no-deprecation` command line flag.