aboutsummaryrefslogtreecommitdiffstats
path: root/packages/testnet-faucets/src/ts/global.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/testnet-faucets/src/ts/global.d.ts')
-rw-r--r--packages/testnet-faucets/src/ts/global.d.ts12
1 files changed, 12 insertions, 0 deletions
diff --git a/packages/testnet-faucets/src/ts/global.d.ts b/packages/testnet-faucets/src/ts/global.d.ts
index 97cd35680..a790366fb 100644
--- a/packages/testnet-faucets/src/ts/global.d.ts
+++ b/packages/testnet-faucets/src/ts/global.d.ts
@@ -24,3 +24,15 @@ declare module 'ethereumjs-tx' {
}
export = EthereumTx;
}
+
+declare module 'web3-provider-engine' {
+ class Web3ProviderEngine {
+ public on(event: string, handler: () => void): void;
+ public send(payload: any): void;
+ public sendAsync(payload: any, callback: (error: any, response: any) => void): void;
+ public addProvider(provider: any): void;
+ public start(): void;
+ public stop(): void;
+ }
+ export = Web3ProviderEngine;
+} \ No newline at end of file