aboutsummaryrefslogtreecommitdiffstats
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
parentcad2555c03f46c317221346bb23b7d349011d6ef (diff)
downloaddexon-0x-contracts-dd5d1c00e5eee8d872d048200174db90525a11a6.tar.gz
dexon-0x-contracts-dd5d1c00e5eee8d872d048200174db90525a11a6.tar.zst
dexon-0x-contracts-dd5d1c00e5eee8d872d048200174db90525a11a6.zip
Make all parameters of FilterObject optional
-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[];