aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/web3-typescript-typings/index.d.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/web3-typescript-typings/index.d.ts b/packages/web3-typescript-typings/index.d.ts
index e7b05d8b0..6e1c2655c 100644
--- a/packages/web3-typescript-typings/index.d.ts
+++ b/packages/web3-typescript-typings/index.d.ts
@@ -5,6 +5,8 @@ declare module 'web3' {
class Web3 {
public static providers: typeof providers;
+ public constructor(provider?: Web3.Provider);
+
public version: {
getNetwork(cd: (err: Error, networkId: string) => void): void;
getNode(cd: (err: Error, nodeVersion: string) => void): void;