Add key option to watch

This commit is contained in:
bydooweedoo
2017-02-02 09:15:29 +08:00
committed by GitHub
parent dba28e9608
commit bf557832e7
+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;
}
}