We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 747d7e0 commit c05ce69Copy full SHA for c05ce69
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) {
0 commit comments