diff options
author | Olaf Tomalka <olaf@tomalka.me> | 2017-12-25 22:28:41 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-01-10 18:24:37 +0800 |
commit | 7e2e392ecc72ea540c38f78a581f1c1f4c0f5b7e (patch) | |
tree | 228082fc9d236fedad51f40bd1a2f211b04f60cb | |
parent | 6912a67ebaac3b96cfbdcbb8c6c4ecec569e1491 (diff) | |
download | dexon-sol-tools-7e2e392ecc72ea540c38f78a581f1c1f4c0f5b7e.tar.gz dexon-sol-tools-7e2e392ecc72ea540c38f78a581f1c1f4c0f5b7e.tar.zst dexon-sol-tools-7e2e392ecc72ea540c38f78a581f1c1f4c0f5b7e.zip |
Made the callback in filter.stopWatching optional
-rw-r--r-- | packages/web3-typescript-typings/index.d.ts | 2 |
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 93e097ed3..677ed3e96 100644 --- a/packages/web3-typescript-typings/index.d.ts +++ b/packages/web3-typescript-typings/index.d.ts @@ -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 { |