diff options
author | Fabio Berger <me@fabioberger.com> | 2017-05-25 17:27:27 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2017-05-25 17:27:27 +0800 |
commit | 0b8ddc1ee18c6d52fbc72177e8c5e180f9106708 (patch) | |
tree | a9d6204be88ecdb724742ab1a2fdabe24ffc8e29 /src/ts/globals.d.ts | |
parent | d23dbf53fd3689613f28d576d03ccfdce94b6646 (diff) | |
download | dexon-sol-tools-0b8ddc1ee18c6d52fbc72177e8c5e180f9106708.tar dexon-sol-tools-0b8ddc1ee18c6d52fbc72177e8c5e180f9106708.tar.gz dexon-sol-tools-0b8ddc1ee18c6d52fbc72177e8c5e180f9106708.tar.bz2 dexon-sol-tools-0b8ddc1ee18c6d52fbc72177e8c5e180f9106708.tar.lz dexon-sol-tools-0b8ddc1ee18c6d52fbc72177e8c5e180f9106708.tar.xz dexon-sol-tools-0b8ddc1ee18c6d52fbc72177e8c5e180f9106708.tar.zst dexon-sol-tools-0b8ddc1ee18c6d52fbc72177e8c5e180f9106708.zip |
Add schema validation and assertion, create ECSignature schema
Diffstat (limited to 'src/ts/globals.d.ts')
-rw-r--r-- | src/ts/globals.d.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ts/globals.d.ts b/src/ts/globals.d.ts index 0f7391b39..659638a1e 100644 --- a/src/ts/globals.d.ts +++ b/src/ts/globals.d.ts @@ -2,6 +2,10 @@ declare type ETHPublicKey = string; declare type ETHAddressHex = string; declare type ETHAddressBuff = Buffer; +declare interface Schema { + id: string; +} + declare module 'ethereumjs-util' { const toBuffer: (data: string) => Buffer; const hashPersonalMessage: (msg: Buffer) => Buffer; |