aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergey Ukustov <sergey@ukstv.me>2017-07-10 06:10:19 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-01-10 18:24:33 +0800
commit2eabb439d91f77f73ac37d6fc794cdbdffc45c98 (patch)
tree3f2609efd7bb0c672feff31dfd9bc1e60b8862a4
parent2bc9d5d490363fabafb75ff9cda7f80095a0372d (diff)
downloaddexon-sol-tools-2eabb439d91f77f73ac37d6fc794cdbdffc45c98.tar.gz
dexon-sol-tools-2eabb439d91f77f73ac37d6fc794cdbdffc45c98.tar.zst
dexon-sol-tools-2eabb439d91f77f73ac37d6fc794cdbdffc45c98.zip
filter.stopWatching accepts callback
-rw-r--r--packages/web3-typescript-typings/index.d.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/web3-typescript-typings/index.d.ts b/packages/web3-typescript-typings/index.d.ts
index 147a211a3..b604d3450 100644
--- a/packages/web3-typescript-typings/index.d.ts
+++ b/packages/web3-typescript-typings/index.d.ts
@@ -77,7 +77,7 @@ declare module 'web3' {
interface FilterResult {
get(callback: () => void): void;
watch<A>(callback: (error: string|null, result: SolidityEvent<A>) => void): void;
- stopWatching(): void;
+ stopWatching(callback: () => void): void;
}
interface ContractInstance {}