From 7bfc499ec8e50778dd33183646dd19ef66496052 Mon Sep 17 00:00:00 2001 From: Jacob Evans Date: Mon, 5 Mar 2018 22:14:00 -0500 Subject: Nuke tests for now --- packages/subproviders/src/globals.d.ts | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) (limited to 'packages/subproviders/src/globals.d.ts') 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 + close(): Promise; } 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; - public getAppConfiguration(): Promise<{ arbitraryDataEnabled: number; version: string; }>; + public getAppConfiguration(): Promise<{ arbitraryDataEnabled: number; version: string }>; public signPersonalMessage(path: string, messageHex: string): Promise; transport: LedgerTransport; } + export default Eth; } declare module '@ledgerhq/hw-transport-u2f' { - export class TransportU2F implements LedgerTransport { - public static create(): Promise; + export default class TransportU2F { + public static create(): Promise; public close(): Promise; } } -- cgit