filter.stopWatching accepts callback

This commit is contained in:
Sergey Ukustov 2017-07-10 01:10:19 +03:00 committed by Leonid Logvinov
parent 2bc9d5d490
commit 2eabb439d9
No known key found for this signature in database
GPG Key ID: 0DD294BFDE8C95D4

View File

@ -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 {}