We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8d6a623 commit df48378Copy full SHA for df48378
1 file changed
lib/binary.ts
@@ -51,13 +51,13 @@ function _deconstructPacket(data, buffers) {
51
* @public
52
*/
53
54
-export function reconstructPacket(packet, buffers) {
+export function reconstructPacket(packet, buffers: Array<any>) {
55
packet.data = _reconstructPacket(packet.data, buffers);
56
packet.attachments = undefined; // no longer useful
57
return packet;
58
}
59
60
-function _reconstructPacket(data, buffers) {
+function _reconstructPacket(data, buffers: Array<any>) {
61
if (!data) return data;
62
63
if (data && data._placeholder === true) {
0 commit comments