Made the callback in filter.stopWatching optional

This commit is contained in:
Olaf Tomalka
2017-12-25 15:28:41 +01:00
committed by Leonid Logvinov
parent 6912a67eba
commit 7e2e392ecc

View File

@@ -131,7 +131,7 @@ declare module 'web3' {
interface FilterResult {
get(callback: () => void): void;
watch(callback: (err: Error, result: LogEntryEvent) => void): void;
stopWatching(callback: () => void): void;
stopWatching(callback?: () => void): void;
}
export interface JSONRPCRequestPayload {