mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-04-05 13:14:30 +00:00
bonjour: add missing options (#42524)
This commit is contained in:
2
types/bonjour/index.d.ts
vendored
2
types/bonjour/index.d.ts
vendored
@@ -47,6 +47,7 @@ declare namespace bonjour {
|
||||
subtypes?: string[];
|
||||
protocol?: 'udp'|'tcp';
|
||||
txt?: Object;
|
||||
probe?: boolean;
|
||||
}
|
||||
|
||||
interface Service extends NodeJS.EventEmitter {
|
||||
@@ -64,6 +65,7 @@ declare namespace bonjour {
|
||||
start(): void;
|
||||
}
|
||||
interface BonjourOptions {
|
||||
type?: 'udp4' | 'udp6';
|
||||
multicast?: boolean;
|
||||
interface?: string;
|
||||
port?: number;
|
||||
|
||||
Reference in New Issue
Block a user