mirror of
https://github.com/electron/electron.git
synced 2026-02-19 03:14:51 -05:00
docs: correct type for process.noDeprecation (#49524)
* docs: correct type for process.noDeprecation * docs: mark `noDeprecation` as optional instead Co-authored-by: René <contact.9a5d6388@renegade334.me.uk> --------- Co-authored-by: David Sanders <dsanders11@ucsbalum.com> Co-authored-by: René <contact.9a5d6388@renegade334.me.uk>
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user