File tree Expand file tree Collapse file tree
packages/engine.io-client/lib Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -795,7 +795,7 @@ export class SocketWithoutUpgrade extends Emitter<
795795 /**
796796 * Sends a packet.
797797 *
798- * @param {String } type: packet type.
798+ * @param {String } type - packet type.
799799 * @param {String } data.
800800 * @param {Object } options.
801801 * @param {Function } fn - callback function.
Original file line number Diff line number Diff line change @@ -52,11 +52,11 @@ export abstract class BaseXHR extends Polling {
5252 /**
5353 * Sends data.
5454 *
55- * @param {String } data to send.
56- * @param {Function } called upon flush.
55+ * @param {String } data - data to send.
56+ * @param {Function } fn - called upon flush.
5757 * @private
5858 */
59- override doWrite ( data , fn ) {
59+ override doWrite ( data : string , fn : ( ) => void ) {
6060 const req = this . request ( {
6161 method : "POST" ,
6262 data : data ,
You can’t perform that action at this time.
0 commit comments