Make all parameters of FilterObject optional

This commit is contained in:
Leonid Logvinov 2017-10-03 11:12:46 +03:00
parent cad2555c03
commit dd5d1c00e5
No known key found for this signature in database
GPG Key ID: 0DD294BFDE8C95D4

View File

@ -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[];