Skip to content

Commit

Permalink
lib: add missing optional jsdoc to validateSignalName
Browse files Browse the repository at this point in the history
  • Loading branch information
anonrig committed Aug 17, 2022
1 parent 4c4c46a commit 5abe5d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/internal/validators.js
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ const validateArray = hideStackFrames((value, name, minLength = 0) => {

/**
* @param {*} signal
* @param {string} name
* @param {string} [name='signal']
* @returns {asserts signal is keyof signals}
*/
function validateSignalName(signal, name = 'signal') {
Expand Down

0 comments on commit 5abe5d8

Please sign in to comment.