diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-10-03 16:12:46 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-01-10 18:24:36 +0800 |
commit | dd5d1c00e5eee8d872d048200174db90525a11a6 (patch) | |
tree | 3fcdba6bb0f85846f5de5f86309985fccebcd203 | |
parent | cad2555c03f46c317221346bb23b7d349011d6ef (diff) | |
download | dexon-sol-tools-dd5d1c00e5eee8d872d048200174db90525a11a6.tar.gz dexon-sol-tools-dd5d1c00e5eee8d872d048200174db90525a11a6.tar.zst dexon-sol-tools-dd5d1c00e5eee8d872d048200174db90525a11a6.zip |
Make all parameters of FilterObject optional
-rw-r--r-- | packages/web3-typescript-typings/index.d.ts | 8 |
1 files changed, 4 insertions, 4 deletions
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[]; |