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 {
|
interface FilterObject {
|
||||||
fromBlock: number|string;
|
fromBlock?: number|string;
|
||||||
toBlock: number|string;
|
toBlock?: number|string;
|
||||||
address: string;
|
address?: string;
|
||||||
topics: LogTopic[];
|
topics?: LogTopic[];
|
||||||
}
|
}
|
||||||
|
|
||||||
type LogTopic = null|string|string[];
|
type LogTopic = null|string|string[];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user