diff --git a/lib/sender.js b/lib/sender.js index ee16cea5a..a8b1da3a9 100644 --- a/lib/sender.js +++ b/lib/sender.js @@ -551,7 +551,7 @@ class Sender { /** * Sends a frame. * - * @param {Buffer[]} list The frame to send + * @param {(Buffer | String)[]} list The frame to send * @param {Function} [cb] Callback * @private */ diff --git a/lib/stream.js b/lib/stream.js index 230734b79..4c58c911b 100644 --- a/lib/stream.js +++ b/lib/stream.js @@ -1,5 +1,7 @@ +/* eslint no-unused-vars: ["error", { "varsIgnorePattern": "^WebSocket$" }] */ 'use strict'; +const WebSocket = require('./websocket'); const { Duplex } = require('stream'); /**