From dd5d1c00e5eee8d872d048200174db90525a11a6 Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Tue, 3 Oct 2017 11:12:46 +0300 Subject: Make all parameters of FilterObject optional --- packages/web3-typescript-typings/index.d.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'packages/web3-typescript-typings') diff --git a/packages/web3-typescript-typings/index.d.ts b/packages/web3-typescript-typings/index.d.ts index 6de1d3f8c..46659ebd2 100644 --- a/packages/web3-typescript-typings/index.d.ts +++ b/packages/web3-typescript-typings/index.d.ts @@ -106,10 +106,10 @@ declare module 'web3' { } interface FilterObject { - fromBlock: number|string; - toBlock: number|string; - address: string; - topics: LogTopic[]; + fromBlock?: number|string; + toBlock?: number|string; + address?: string; + topics?: LogTopic[]; } type LogTopic = null|string|string[]; -- cgit