From 4c8ea29856dd7b59ab007e9fdf67e4e25b05e796 Mon Sep 17 00:00:00 2001 From: Jeremy Apthorp Date: Tue, 25 Feb 2020 10:59:35 -0800 Subject: [PATCH] bonjour: add missing options (#42524) --- types/bonjour/index.d.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/types/bonjour/index.d.ts b/types/bonjour/index.d.ts index 61b97e4ee8..83d9b4cc2b 100644 --- a/types/bonjour/index.d.ts +++ b/types/bonjour/index.d.ts @@ -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;