From 69a8b2e172a02b93a39c1787b1e340415007b615 Mon Sep 17 00:00:00 2001 From: Adriano Cunha <35786489+adrcunha@users.noreply.github.com> Date: Tue, 23 Apr 2024 22:05:11 -0700 Subject: [PATCH] Update opts in pair.ts Update opts in pair.ts to include attempt_to_fix_packet_loss. Otherwise it will fail with: ``` cmd/pair.ts:16:29 - error TS2345: Argument of type '{ debug: boolean; ansi: boolean; discovery_ip: string; }' is not assignable to parameter of type 'opt'. Property 'attempt_to_fix_packet_loss' is missing in type '{ debug: boolean; ansi: boolean; discovery_ip: string; }' but required in type 'opt'. ``` --- cmd/pair.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/pair.ts b/cmd/pair.ts index 3da58ae..f9d8b28 100644 --- a/cmd/pair.ts +++ b/cmd/pair.ts @@ -8,6 +8,7 @@ const opts = { debug: true, ansi: true, discovery_ip: "192.168.1.255", + attempt_to_fix_packet_loss: false, }; let sessions: Record = {};