aboutsummaryrefslogtreecommitdiffstats
path: root/packages/subproviders/src
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2017-12-06 11:47:44 +0800
committerFabio Berger <me@fabioberger.com>2017-12-06 11:47:44 +0800
commitf05e0174a00585f734c6b5a60f8628a278fda2c2 (patch)
tree94bb435c99f9687ccb8eedba283be598db37a018 /packages/subproviders/src
parent6bea3ac157b2cb8c31901dbfccf71b0723cf39a0 (diff)
downloaddexon-0x-contracts-f05e0174a00585f734c6b5a60f8628a278fda2c2.tar.gz
dexon-0x-contracts-f05e0174a00585f734c6b5a60f8628a278fda2c2.tar.zst
dexon-0x-contracts-f05e0174a00585f734c6b5a60f8628a278fda2c2.zip
Add declaration
Diffstat (limited to 'packages/subproviders/src')
-rw-r--r--packages/subproviders/src/globals.d.ts7
1 files changed, 7 insertions, 0 deletions
diff --git a/packages/subproviders/src/globals.d.ts b/packages/subproviders/src/globals.d.ts
index 2f4093ceb..362587e08 100644
--- a/packages/subproviders/src/globals.d.ts
+++ b/packages/subproviders/src/globals.d.ts
@@ -8,6 +8,8 @@ declare module 'es6-promisify';
// tslint:disable:max-classes-per-file
// tslint:disable:class-name
// tslint:disable:completed-docs
+
+// Ledgerco declarations
declare module 'ledgerco' {
interface comm {
close_async: Promise<void>;
@@ -23,6 +25,11 @@ declare module 'ledgerco' {
}
}
+// ethereum-address declarations
+declare module 'ethereum-address' {
+ export const isAddress: (address: string) => boolean;
+}
+
// Semaphore-async-await declarations
declare module 'semaphore-async-await' {
class Semaphore {