From 2eccb28dee6ad16f8b4a73102d36463067be8262 Mon Sep 17 00:00:00 2001 From: Jacob Evans Date: Thu, 1 Feb 2018 17:08:19 -0800 Subject: Enable CIRCLECI and declare web3 --- packages/testnet-faucets/src/ts/global.d.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'packages/testnet-faucets/src') 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 -- cgit v1.2.3