From 44bcbc85313373e31eef8a5ca7b2be4447982763 Mon Sep 17 00:00:00 2001 From: Luigi Pinca Date: Wed, 24 Jun 2020 18:24:28 +0200 Subject: [PATCH] [minor] Fix JSDoc comments --- lib/sender.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/sender.js b/lib/sender.js index d385d6456..3ea2fc147 100644 --- a/lib/sender.js +++ b/lib/sender.js @@ -174,7 +174,7 @@ class Sender { /** * Frames and sends a ping message. * - * @param {*} data The message to send + * @param {Buffer} data The message to send * @param {Boolean} mask Specifies whether or not to mask `data` * @param {Boolean} readOnly Specifies whether `data` can be modified * @param {Function} cb Callback @@ -218,7 +218,7 @@ class Sender { /** * Frames and sends a pong message. * - * @param {*} data The message to send + * @param {Buffer} data The message to send * @param {Boolean} mask Specifies whether or not to mask `data` * @param {Boolean} readOnly Specifies whether `data` can be modified * @param {Function} cb Callback