aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-07-08 02:09:09 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-01-10 18:24:33 +0800
commit1a38893b527bcb0245de5c740affeb58d7c68598 (patch)
tree0773526305d1153d677edf9fd54c42a64af02bf0
parentf28d75cf7c77dc56591e87756a56204029e66d72 (diff)
downloaddexon-sol-tools-1a38893b527bcb0245de5c740affeb58d7c68598.tar
dexon-sol-tools-1a38893b527bcb0245de5c740affeb58d7c68598.tar.gz
dexon-sol-tools-1a38893b527bcb0245de5c740affeb58d7c68598.tar.bz2
dexon-sol-tools-1a38893b527bcb0245de5c740affeb58d7c68598.tar.lz
dexon-sol-tools-1a38893b527bcb0245de5c740affeb58d7c68598.tar.xz
dexon-sol-tools-1a38893b527bcb0245de5c740affeb58d7c68598.tar.zst
dexon-sol-tools-1a38893b527bcb0245de5c740affeb58d7c68598.zip
Fix version typings
-rw-r--r--packages/web3-typescript-typings/index.d.ts4
1 files changed, 2 insertions, 2 deletions
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: {