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'.
```
This commit is contained in:
Adriano Cunha
2024-04-23 22:05:11 -07:00
committed by GitHub
parent cf45216693
commit 69a8b2e172
+1
View File
@@ -8,6 +8,7 @@ const opts = {
debug: true, debug: true,
ansi: true, ansi: true,
discovery_ip: "192.168.1.255", discovery_ip: "192.168.1.255",
attempt_to_fix_packet_loss: false,
}; };
let sessions: Record<string, Session> = {}; let sessions: Record<string, Session> = {};