diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-12-19 23:22:57 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-12-19 23:22:57 +0800 |
commit | 75f637bd756fd7d4480792ead7bd86dd8326e622 (patch) | |
tree | 000fd6a09f2fcaedd640a8580ba8f8c90185958e /packages/0x.js/src/types.ts | |
parent | 1316a2dd2a8971771f750d8a7f457212daad520b (diff) | |
download | dexon-0x-contracts-75f637bd756fd7d4480792ead7bd86dd8326e622.tar dexon-0x-contracts-75f637bd756fd7d4480792ead7bd86dd8326e622.tar.gz dexon-0x-contracts-75f637bd756fd7d4480792ead7bd86dd8326e622.tar.bz2 dexon-0x-contracts-75f637bd756fd7d4480792ead7bd86dd8326e622.tar.lz dexon-0x-contracts-75f637bd756fd7d4480792ead7bd86dd8326e622.tar.xz dexon-0x-contracts-75f637bd756fd7d4480792ead7bd86dd8326e622.tar.zst dexon-0x-contracts-75f637bd756fd7d4480792ead7bd86dd8326e622.zip |
Throw a better error message when taker is null|undefined or anything but not a string
Diffstat (limited to 'packages/0x.js/src/types.ts')
-rw-r--r-- | packages/0x.js/src/types.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/0x.js/src/types.ts b/packages/0x.js/src/types.ts index 844ac9ed9..704e59ce5 100644 --- a/packages/0x.js/src/types.ts +++ b/packages/0x.js/src/types.ts @@ -235,6 +235,7 @@ export interface OrderFillRequest { } export type AsyncMethod = (...args: any[]) => Promise<any>; +export type SyncMethod = (...args: any[]) => any; /** * We re-export the `Web3.Provider` type specified in the Web3 Typescript typings |