mirror of
https://github.com/nodejs/node.git
synced 2025-08-15 13:48:44 +02:00
doc: fix jsdoc definition of assert.ifError() fn in lib/assert.js
PR-URL: https://github.com/nodejs/node/pull/58573 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ulises Gascón <ulisesgascongonzalez@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Jordan Harband <ljharb@gmail.com> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com> Reviewed-By: Chemi Atlow <chemi@atlow.co.il> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
parent
cdadb20ae1
commit
eaebfab299
1 changed files with 1 additions and 1 deletions
|
@ -682,7 +682,7 @@ assert.doesNotReject = async function doesNotReject(fn, ...args) {
|
|||
};
|
||||
|
||||
/**
|
||||
* Throws `value` if the value is not `null` or `undefined`.
|
||||
* Throws `AssertionError` if the value is not `null` or `undefined`.
|
||||
* @param {any} err
|
||||
* @returns {void}
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue