mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 21:10:23 +00:00
Merge pull request #14396 from bydooweedoo/master
[consul] Add key option to consul.watch
This commit is contained in:
Vendored
+5
-1
@@ -951,10 +951,14 @@ declare namespace Consul {
|
||||
}
|
||||
|
||||
namespace Watch {
|
||||
|
||||
interface WatchOptions {
|
||||
key?: string;
|
||||
}
|
||||
|
||||
interface Options {
|
||||
method: Function;
|
||||
options?: CommonOptions;
|
||||
options?: CommonOptions & WatchOptions;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user