Add LogTopic type
This commit is contained in:
4
packages/web3-typescript-typings/index.d.ts
vendored
4
packages/web3-typescript-typings/index.d.ts
vendored
@@ -109,9 +109,11 @@ declare module 'web3' {
|
||||
fromBlock: number|string;
|
||||
toBlock: number|string;
|
||||
address: string;
|
||||
topics: string[];
|
||||
topics: LogTopic[];
|
||||
}
|
||||
|
||||
type LogTopic = null|string|string[];
|
||||
|
||||
interface SolidityEvent<A> {
|
||||
event: string;
|
||||
address: string;
|
||||
|
||||
Reference in New Issue
Block a user