Skip to content

Commit

Permalink
[minor] Improve JSDoc-inferred types (websockets#2242)
Browse files Browse the repository at this point in the history
  • Loading branch information
ITenthusiasm authored Jul 14, 2024
1 parent bfe1b2a commit 019f28f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/sender.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down
2 changes: 2 additions & 0 deletions lib/stream.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/* eslint no-unused-vars: ["error", { "varsIgnorePattern": "^WebSocket$" }] */
'use strict';

const WebSocket = require('./websocket');
const { Duplex } = require('stream');

/**
Expand Down

0 comments on commit 019f28f

Please sign in to comment.