diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-07-08 02:09:09 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-01-10 18:24:33 +0800 |
commit | 1a38893b527bcb0245de5c740affeb58d7c68598 (patch) | |
tree | 0773526305d1153d677edf9fd54c42a64af02bf0 | |
parent | f28d75cf7c77dc56591e87756a56204029e66d72 (diff) | |
download | dexon-0x-contracts-1a38893b527bcb0245de5c740affeb58d7c68598.tar.gz dexon-0x-contracts-1a38893b527bcb0245de5c740affeb58d7c68598.tar.zst dexon-0x-contracts-1a38893b527bcb0245de5c740affeb58d7c68598.zip |
Fix version typings
-rw-r--r-- | packages/web3-typescript-typings/index.d.ts | 4 |
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: { |