From 98e9c3b800c5a5ce00db1385e8870d1d1bc37c99 Mon Sep 17 00:00:00 2001 From: Fabio Berger Date: Wed, 24 May 2017 17:18:10 +0200 Subject: Add getBlockNumber definition --- packages/web3-typescript-typings/index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/web3-typescript-typings/index.d.ts b/packages/web3-typescript-typings/index.d.ts index ccc2c2919..1d673a1c3 100644 --- a/packages/web3-typescript-typings/index.d.ts +++ b/packages/web3-typescript-typings/index.d.ts @@ -18,6 +18,7 @@ declare module 'web3' { } 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; contract(abi: AbiDefinition[]): Contract; getBalance(addressHexString: string, callback?: (err: any, result: BigNumber.BigNumber) => void): BigNumber.BigNumber; -- cgit