From bf557832e7a8a776d4979150ebd9ac826f761d9a Mon Sep 17 00:00:00 2001 From: bydooweedoo Date: Thu, 2 Feb 2017 09:15:29 +0800 Subject: [PATCH] Add key option to watch --- consul/index.d.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/consul/index.d.ts b/consul/index.d.ts index b154eeccb3..4d577cd2a1 100644 --- a/consul/index.d.ts +++ b/consul/index.d.ts @@ -951,10 +951,14 @@ declare namespace Consul { } namespace Watch { + + interface WatchOptions { + key?: string; + } interface Options { method: Function; - options?: CommonOptions; + options?: CommonOptions & WatchOptions; } }