diff options
author | Hsuan Lee <boczeratul@gmail.com> | 2019-03-06 15:01:12 +0800 |
---|---|---|
committer | Hsuan Lee <boczeratul@gmail.com> | 2019-03-06 15:01:12 +0800 |
commit | c5a9c90c0b6dbeb59eb4d8bb6ad20a1afdc2450f (patch) | |
tree | e925fdefbe35304b71e57c09c89fd6d123c3ab40 /packages/typescript-typings/types/truffle-hdwalet-provider | |
parent | 69dc8110f4be576fe91d28a653906fd67904a899 (diff) | |
download | dexon-sol-tools-c5a9c90c0b6dbeb59eb4d8bb6ad20a1afdc2450f.tar dexon-sol-tools-c5a9c90c0b6dbeb59eb4d8bb6ad20a1afdc2450f.tar.gz dexon-sol-tools-c5a9c90c0b6dbeb59eb4d8bb6ad20a1afdc2450f.tar.bz2 dexon-sol-tools-c5a9c90c0b6dbeb59eb4d8bb6ad20a1afdc2450f.tar.lz dexon-sol-tools-c5a9c90c0b6dbeb59eb4d8bb6ad20a1afdc2450f.tar.xz dexon-sol-tools-c5a9c90c0b6dbeb59eb4d8bb6ad20a1afdc2450f.tar.zst dexon-sol-tools-c5a9c90c0b6dbeb59eb4d8bb6ad20a1afdc2450f.zip |
Add typescript definitions
Diffstat (limited to 'packages/typescript-typings/types/truffle-hdwalet-provider')
-rw-r--r-- | packages/typescript-typings/types/truffle-hdwalet-provider/index.d.ts | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/packages/typescript-typings/types/truffle-hdwalet-provider/index.d.ts b/packages/typescript-typings/types/truffle-hdwalet-provider/index.d.ts new file mode 100644 index 000000000..007df61e0 --- /dev/null +++ b/packages/typescript-typings/types/truffle-hdwalet-provider/index.d.ts @@ -0,0 +1,11 @@ +declare module 'truffle-hdwallet-provider' { + import { JSONRPCRequestPayload, JSONRPCResponsePayload, Provider } from 'ethereum-types'; + class HDWalletProvider implements Provider { + constructor(mnemonic: string, rpcUrl: string); + public sendAsync( + payload: JSONRPCRequestPayload, + callback: (err: Error, result: JSONRPCResponsePayload) => void, + ): void; + } + export = HDWalletProvider; +} |