Skip to content

Commit

Permalink
lib: add missing assertions
Browse files Browse the repository at this point in the history
  • Loading branch information
anonrig committed Aug 17, 2022
1 parent 49db869 commit 0c9fbc5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/internal/validators.js
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,7 @@ function validateSignalName(signal, name = 'signal') {
* @callback validateBuffer
* @param {*} buffer
* @param {string} [name='buffer']
* @returns {asserts buffer is ArrayBufferView}
*/

/** @type {validateBuffer} */
Expand Down

0 comments on commit 0c9fbc5

Please sign in to comment.