Skip to content

Commit

Permalink
Make MulticastOptions properties all optional homebridge#883
Browse files Browse the repository at this point in the history
  • Loading branch information
Supereg committed Feb 22, 2021
1 parent a070339 commit daad8d0
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions @types/bonjour-hap.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,13 @@ declare module 'bonjour-hap' {


export type MulticastOptions = {
multicast: boolean;
interface: string;
port: number;
ip: string;
ttl: number;
loopback: boolean;
reuseAddr: boolean;
multicast?: boolean;
interface?: string;
port?: number;
ip?: string;
ttl?: number;
loopback?: boolean;
reuseAddr?: boolean;
};
function createWithOptions(options?: MulticastOptions): BonjourHAP;

Expand Down

0 comments on commit daad8d0

Please sign in to comment.