Merge pull request #14396 from bydooweedoo/master

[consul] Add key option to consul.watch
This commit is contained in:
Arthur Ozga
2017-02-09 14:46:16 -08:00
committed by GitHub
+5 -1
View File
@@ -951,10 +951,14 @@ declare namespace Consul {
}
namespace Watch {
interface WatchOptions {
key?: string;
}
interface Options {
method: Function;
options?: CommonOptions;
options?: CommonOptions & WatchOptions;
}
}