diff options
-rw-r--r-- | packages/web3-typescript-typings/index.d.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/web3-typescript-typings/index.d.ts b/packages/web3-typescript-typings/index.d.ts index 01ee172b5..92093cff0 100644 --- a/packages/web3-typescript-typings/index.d.ts +++ b/packages/web3-typescript-typings/index.d.ts @@ -15,7 +15,8 @@ declare module 'web3' { defaultAccount: string; compile: { solidity(sourceString: string, cb?: (err: any, result: any) => void): object, - } + }; + blockNumber: number; sign(address: string, message: string, callback: (err: Error, signData: string) => void): string; getBlock(blockHash: string, callback: (err: Error, blockObj: any) => void): BigNumber.BigNumber; getBlockNumber(callback: (err: Error, blockNumber: number) => void): void; |