From 005d8184aa5849dd52faf56372386cb66ef6f56e Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Tue, 3 Oct 2017 10:59:31 +0300 Subject: Add LogTopic type --- packages/web3-typescript-typings/index.d.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'packages') 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 { event: string; address: string; -- cgit v1.2.3