diff options
author | Jacob Evans <jacob@dekz.net> | 2018-03-06 11:14:00 +0800 |
---|---|---|
committer | Jacob Evans <jacob@dekz.net> | 2018-03-06 11:36:53 +0800 |
commit | 7bfc499ec8e50778dd33183646dd19ef66496052 (patch) | |
tree | 9db681f1cdc5494cda1c9e2364fce9fa28bcac95 /packages/subproviders/src/globals.d.ts | |
parent | 71e7e9c9c3ed89c1c25f46085c0968a62099cb5a (diff) | |
download | dexon-sol-tools-7bfc499ec8e50778dd33183646dd19ef66496052.tar dexon-sol-tools-7bfc499ec8e50778dd33183646dd19ef66496052.tar.gz dexon-sol-tools-7bfc499ec8e50778dd33183646dd19ef66496052.tar.bz2 dexon-sol-tools-7bfc499ec8e50778dd33183646dd19ef66496052.tar.lz dexon-sol-tools-7bfc499ec8e50778dd33183646dd19ef66496052.tar.xz dexon-sol-tools-7bfc499ec8e50778dd33183646dd19ef66496052.tar.zst dexon-sol-tools-7bfc499ec8e50778dd33183646dd19ef66496052.zip |
Nuke tests for now
Diffstat (limited to 'packages/subproviders/src/globals.d.ts')
-rw-r--r-- | packages/subproviders/src/globals.d.ts | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/packages/subproviders/src/globals.d.ts b/packages/subproviders/src/globals.d.ts index 1a9b2ad61..238d9be78 100644 --- a/packages/subproviders/src/globals.d.ts +++ b/packages/subproviders/src/globals.d.ts @@ -34,22 +34,27 @@ interface ECSignature { } interface LedgerTransport { - close(): Promise<void> + close(): Promise<void>; } declare module '@ledgerhq/hw-app-eth' { - export class Eth { + class Eth { constructor(transport: LedgerTransport); - public getAddress(path: string, boolDisplay?: boolean, boolChaincode?: boolean): Promise<{ publicKey: string; address: string; chainCode: string }>; + public getAddress( + path: string, + boolDisplay?: boolean, + boolChaincode?: boolean, + ): Promise<{ publicKey: string; address: string; chainCode: string }>; public signTransaction(path: string, rawTxHex: string): Promise<ECSignatureString>; - public getAppConfiguration(): Promise<{ arbitraryDataEnabled: number; version: string; }>; + public getAppConfiguration(): Promise<{ arbitraryDataEnabled: number; version: string }>; public signPersonalMessage(path: string, messageHex: string): Promise<ECSignature>; transport: LedgerTransport; } + export default Eth; } declare module '@ledgerhq/hw-transport-u2f' { - export class TransportU2F implements LedgerTransport { - public static create(): Promise<TransportU2F>; + export default class TransportU2F { + public static create(): Promise<LedgerTransport>; public close(): Promise<void>; } } |