Skip to content

Commit 44bcbc8

Browse files
committed
[minor] Fix JSDoc comments
1 parent e1349c0 commit 44bcbc8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/sender.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ class Sender {
174174
/**
175175
* Frames and sends a ping message.
176176
*
177-
* @param {*} data The message to send
177+
* @param {Buffer} data The message to send
178178
* @param {Boolean} mask Specifies whether or not to mask `data`
179179
* @param {Boolean} readOnly Specifies whether `data` can be modified
180180
* @param {Function} cb Callback
@@ -218,7 +218,7 @@ class Sender {
218218
/**
219219
* Frames and sends a pong message.
220220
*
221-
* @param {*} data The message to send
221+
* @param {Buffer} data The message to send
222222
* @param {Boolean} mask Specifies whether or not to mask `data`
223223
* @param {Boolean} readOnly Specifies whether `data` can be modified
224224
* @param {Function} cb Callback

0 commit comments

Comments
 (0)