Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 019f28f

Browse filesBrowse files
authored
[minor] Improve JSDoc-inferred types (#2242)
1 parent bfe1b2a commit 019f28f
Copy full SHA for 019f28f

File tree

Expand file treeCollapse file tree

2 files changed

+3
-1
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+3
-1
lines changed

‎lib/sender.js

Copy file name to clipboardExpand all lines: lib/sender.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -551,7 +551,7 @@ class Sender {
551551
/**
552552
* Sends a frame.
553553
*
554-
* @param {Buffer[]} list The frame to send
554+
* @param {(Buffer | String)[]} list The frame to send
555555
* @param {Function} [cb] Callback
556556
* @private
557557
*/

‎lib/stream.js

Copy file name to clipboardExpand all lines: lib/stream.js
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1+
/* eslint no-unused-vars: ["error", { "varsIgnorePattern": "^WebSocket$" }] */
12
'use strict';
23

4+
const WebSocket = require('./websocket');
35
const { Duplex } = require('stream');
46

57
/**

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.