Skip to content

Commit 69172fc

Browse files
committed
[minor] Add missing parameters in JSDoc comments
1 parent d972c33 commit 69172fc

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

lib/limiter.js

+1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ class Limiter {
2727
/**
2828
* Adds a job to the queue.
2929
*
30+
* @param {Function} job The job to run
3031
* @public
3132
*/
3233
add(job) {

lib/stream.js

+1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ function duplexOnEnd() {
2626
/**
2727
* The listener of the `'error'` event.
2828
*
29+
* @param {Error} err The error
2930
* @private
3031
*/
3132
function duplexOnError(err) {

0 commit comments

Comments
 (0)