aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-10-03 16:12:46 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-01-10 18:24:36 +0800
commitdd5d1c00e5eee8d872d048200174db90525a11a6 (patch)
tree3fcdba6bb0f85846f5de5f86309985fccebcd203 /packages
parentcad2555c03f46c317221346bb23b7d349011d6ef (diff)
downloaddexon-sol-tools-dd5d1c00e5eee8d872d048200174db90525a11a6.tar
dexon-sol-tools-dd5d1c00e5eee8d872d048200174db90525a11a6.tar.gz
dexon-sol-tools-dd5d1c00e5eee8d872d048200174db90525a11a6.tar.bz2
dexon-sol-tools-dd5d1c00e5eee8d872d048200174db90525a11a6.tar.lz
dexon-sol-tools-dd5d1c00e5eee8d872d048200174db90525a11a6.tar.xz
dexon-sol-tools-dd5d1c00e5eee8d872d048200174db90525a11a6.tar.zst
dexon-sol-tools-dd5d1c00e5eee8d872d048200174db90525a11a6.zip
Make all parameters of FilterObject optional
Diffstat (limited to 'packages')
-rw-r--r--packages/web3-typescript-typings/index.d.ts8
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[];