From e05dfab1fca9eb108848c98da9dbf671a59d17f3 Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Tue, 5 Sep 2017 13:14:27 +0200 Subject: Add explaining comment --- src/contract.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/contract.ts b/src/contract.ts index 3592e0e71..ebda31e65 100644 --- a/src/contract.ts +++ b/src/contract.ts @@ -7,6 +7,8 @@ export class Contract implements Web3.ContractInstance { public abi: Web3.ContractAbi; private contract: Web3.ContractInstance; private defaults: Partial; + // This class instance is going to be populated with functions and events depending on the ABI + // and we don't know their types in advance [name: string]: any; constructor(web3ContractInstance: Web3.ContractInstance, defaults: Partial) { this.contract = web3ContractInstance; -- cgit v1.2.3