From 7e2e392ecc72ea540c38f78a581f1c1f4c0f5b7e Mon Sep 17 00:00:00 2001 From: Olaf Tomalka Date: Mon, 25 Dec 2017 15:28:41 +0100 Subject: Made the callback in filter.stopWatching optional --- 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 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 { -- cgit v1.2.3