diff options
-rw-r--r-- | packages/web3-typescript-typings/index.d.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/web3-typescript-typings/index.d.ts b/packages/web3-typescript-typings/index.d.ts index 2fc6f277c..6de1d3f8c 100644 --- a/packages/web3-typescript-typings/index.d.ts +++ b/packages/web3-typescript-typings/index.d.ts @@ -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; |