diff options
author | Fabio Berger <me@fabioberger.com> | 2017-11-14 01:30:01 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2017-11-14 01:30:01 +0800 |
commit | 2060940ecc58fd99f32cf00df7469337f5fc43f0 (patch) | |
tree | 2a943702e6f8837590b2b34a3496844d92c4f182 /packages/0x.js/src/contract_wrappers | |
parent | 70661c179f589c20f893a354c9d66646854f6638 (diff) | |
download | dexon-sol-tools-2060940ecc58fd99f32cf00df7469337f5fc43f0.tar dexon-sol-tools-2060940ecc58fd99f32cf00df7469337f5fc43f0.tar.gz dexon-sol-tools-2060940ecc58fd99f32cf00df7469337f5fc43f0.tar.bz2 dexon-sol-tools-2060940ecc58fd99f32cf00df7469337f5fc43f0.tar.lz dexon-sol-tools-2060940ecc58fd99f32cf00df7469337f5fc43f0.tar.xz dexon-sol-tools-2060940ecc58fd99f32cf00df7469337f5fc43f0.tar.zst dexon-sol-tools-2060940ecc58fd99f32cf00df7469337f5fc43f0.zip |
Fix lint and ts issues
Diffstat (limited to 'packages/0x.js/src/contract_wrappers')
-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 fe0c5bc00..b4bf24846 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 = this._exchangeContractErrCodesToMsg[errCode]; + const errMessage: ExchangeContractErrs = this._exchangeContractErrCodesToMsg[errCode]; throw new Error(errMessage); } } |