We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8de448f commit 5b7fbb0Copy full SHA for 5b7fbb0
lib/permessage-deflate.js
@@ -313,7 +313,7 @@ class PerMessageDeflate {
313
/**
314
* Compress data. Concurrency limited.
315
*
316
- * @param {Buffer} data Data to compress
+ * @param {(Buffer|String)} data Data to compress
317
* @param {Boolean} fin Specifies whether or not this is the last fragment
318
* @param {Function} callback Callback
319
* @public
@@ -395,7 +395,7 @@ class PerMessageDeflate {
395
396
* Compress data.
397
398
399
400
401
* @private
0 commit comments