aboutsummaryrefslogtreecommitdiffstats
path: root/packages
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 /packages
parentf28d75cf7c77dc56591e87756a56204029e66d72 (diff)
downloaddexon-0x-contracts-1a38893b527bcb0245de5c740affeb58d7c68598.tar.gz
dexon-0x-contracts-1a38893b527bcb0245de5c740affeb58d7c68598.tar.zst
dexon-0x-contracts-1a38893b527bcb0245de5c740affeb58d7c68598.zip
Fix version typings
Diffstat (limited to 'packages')
-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: {