diff options
author | Fabio Berger <me@fabioberger.com> | 2017-11-14 01:39:20 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2017-11-14 01:39:20 +0800 |
commit | 23de8185c62f0879c20a7ece50aa35323aec92e3 (patch) | |
tree | 203226b67c829cf6f1966afc1773866e54f2da5a | |
parent | d9c80e9b6a8979de4b4133962e95ba9314cb3b96 (diff) | |
download | dexon-sol-tools-23de8185c62f0879c20a7ece50aa35323aec92e3.tar dexon-sol-tools-23de8185c62f0879c20a7ece50aa35323aec92e3.tar.gz dexon-sol-tools-23de8185c62f0879c20a7ece50aa35323aec92e3.tar.bz2 dexon-sol-tools-23de8185c62f0879c20a7ece50aa35323aec92e3.tar.lz dexon-sol-tools-23de8185c62f0879c20a7ece50aa35323aec92e3.tar.xz dexon-sol-tools-23de8185c62f0879c20a7ece50aa35323aec92e3.tar.zst dexon-sol-tools-23de8185c62f0879c20a7ece50aa35323aec92e3.zip |
Declare as string
-rw-r--r-- | packages/0x.js/src/contract_wrappers/exchange_wrapper.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/0x.js/src/contract_wrappers/exchange_wrapper.ts b/packages/0x.js/src/contract_wrappers/exchange_wrapper.ts index b4bf24846..6a783b76e 100644 --- a/packages/0x.js/src/contract_wrappers/exchange_wrapper.ts +++ b/packages/0x.js/src/contract_wrappers/exchange_wrapper.ts @@ -807,7 +807,7 @@ export class ExchangeWrapper extends ContractWrapper { if (!_.isUndefined(errLog)) { const logArgs = errLog.args; const errCode = logArgs.errorId.toNumber(); - const errMessage: ExchangeContractErrs = this._exchangeContractErrCodesToMsg[errCode]; + const errMessage: string = this._exchangeContractErrCodesToMsg[errCode]; throw new Error(errMessage); } } |