DavidVentura / cam-reverse

42 stars 10 forks source link

Update opts in pair.ts #6

Closed adrcunha closed 2 months ago

adrcunha commented 2 months ago

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'.