aboutsummaryrefslogtreecommitdiffstats
path: root/src/ts/globals.d.ts
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2017-05-25 18:27:49 +0800
committerGitHub <noreply@github.com>2017-05-25 18:27:49 +0800
commitb1a6c895cc095b39c263ff508d98395b1b901dc6 (patch)
tree355fd7e1f9a34a88a6f190d0942f4348c553ecd6 /src/ts/globals.d.ts
parent334d2f175fd9dcb3f9e336250d21c7916a2671ae (diff)
parent2117b4e0c87df277f5e8df54e8df922bdf19c298 (diff)
downloaddexon-sol-tools-b1a6c895cc095b39c263ff508d98395b1b901dc6.tar
dexon-sol-tools-b1a6c895cc095b39c263ff508d98395b1b901dc6.tar.gz
dexon-sol-tools-b1a6c895cc095b39c263ff508d98395b1b901dc6.tar.bz2
dexon-sol-tools-b1a6c895cc095b39c263ff508d98395b1b901dc6.tar.lz
dexon-sol-tools-b1a6c895cc095b39c263ff508d98395b1b901dc6.tar.xz
dexon-sol-tools-b1a6c895cc095b39c263ff508d98395b1b901dc6.tar.zst
dexon-sol-tools-b1a6c895cc095b39c263ff508d98395b1b901dc6.zip
Merge pull request #10 from 0xProject/addSchemas
Add schema validation
Diffstat (limited to 'src/ts/globals.d.ts')
-rw-r--r--src/ts/globals.d.ts4
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;