Add LogTopic type

This commit is contained in:
Leonid Logvinov
2017-10-03 10:59:31 +03:00
parent c228eddc57
commit 005d8184aa

View File

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