mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 23:07:06 +00:00
Add key option to 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