From 1a38893b527bcb0245de5c740affeb58d7c68598 Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Fri, 7 Jul 2017 11:09:09 -0700 Subject: Fix version typings --- packages/web3-typescript-typings/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'packages') diff --git a/packages/web3-typescript-typings/index.d.ts b/packages/web3-typescript-typings/index.d.ts index aeceb0ff1..e492e2946 100644 --- a/packages/web3-typescript-typings/index.d.ts +++ b/packages/web3-typescript-typings/index.d.ts @@ -6,8 +6,8 @@ declare module 'web3' { public static providers: typeof providers; public version: { - getNetwork(): number; - getNode(): string; + getNetwork(cd: (err: Error, networkId: string) => void): void; + getNode(cd: (err: Error, nodeVersion: string) => void): void; }; public eth: { -- cgit v1.2.3