Make all parameters of FilterObject optional
This commit is contained in:
parent
cad2555c03
commit
dd5d1c00e5
8
packages/web3-typescript-typings/index.d.ts
vendored
8
packages/web3-typescript-typings/index.d.ts
vendored
@ -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[];
|
||||
|
Loading…
x
Reference in New Issue
Block a user