From 2eabb439d91f77f73ac37d6fc794cdbdffc45c98 Mon Sep 17 00:00:00 2001 From: Sergey Ukustov Date: Mon, 10 Jul 2017 01:10:19 +0300 Subject: filter.stopWatching accepts callback --- packages/web3-typescript-typings/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(callback: (error: string|null, result: SolidityEvent) => void): void; - stopWatching(): void; + stopWatching(callback: () => void): void; } interface ContractInstance {} -- cgit v1.2.3