Made the callback in filter.stopWatching optional
This commit is contained in:
committed by
Leonid Logvinov
parent
6912a67eba
commit
7e2e392ecc
2
packages/web3-typescript-typings/index.d.ts
vendored
2
packages/web3-typescript-typings/index.d.ts
vendored
@@ -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 {
|
||||
|
Reference in New Issue
Block a user