aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-12-19 00:06:00 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-12-19 19:10:43 +0800
commit436d78eb93792e352049c790b10fbeddde199cab (patch)
tree96a4a4df9910f6dad2f79b71c3a6a400dbc2e867
parentf269ecd95efdd85956f995424474184eea09616f (diff)
downloaddexon-sol-tools-436d78eb93792e352049c790b10fbeddde199cab.tar
dexon-sol-tools-436d78eb93792e352049c790b10fbeddde199cab.tar.gz
dexon-sol-tools-436d78eb93792e352049c790b10fbeddde199cab.tar.bz2
dexon-sol-tools-436d78eb93792e352049c790b10fbeddde199cab.tar.lz
dexon-sol-tools-436d78eb93792e352049c790b10fbeddde199cab.tar.xz
dexon-sol-tools-436d78eb93792e352049c790b10fbeddde199cab.tar.zst
dexon-sol-tools-436d78eb93792e352049c790b10fbeddde199cab.zip
Fix linter issues
-rw-r--r--packages/0x.js/src/contract_wrappers/exchange_wrapper.ts4
-rw-r--r--packages/0x.js/test/exchange_wrapper_test.ts2
-rw-r--r--packages/0x.js/test/token_wrapper_test.ts2
3 files changed, 4 insertions, 4 deletions
diff --git a/packages/0x.js/src/contract_wrappers/exchange_wrapper.ts b/packages/0x.js/src/contract_wrappers/exchange_wrapper.ts
index 7739defc0..274f217c6 100644
--- a/packages/0x.js/src/contract_wrappers/exchange_wrapper.ts
+++ b/packages/0x.js/src/contract_wrappers/exchange_wrapper.ts
@@ -7,6 +7,7 @@ import * as Web3 from 'web3';
import {artifacts} from '../artifacts';
import {
BlockParamLiteral,
+ BlockRange,
DecodedLogArgs,
ECSignature,
EventCallback,
@@ -25,7 +26,6 @@ import {
OrderTransactionOpts,
OrderValues,
SignedOrder,
- BlockRange,
ValidateOrderFillableOpts,
} from '../types';
import {AbiDecoder} from '../utils/abi_decoder';
@@ -616,7 +616,7 @@ export class ExchangeWrapper extends ContractWrapper {
/**
* Gets historical logs without creating a subscription
* @param eventName The exchange contract event you would like to subscribe to.
- * @param blockRange Subscriptions options that let you configure the subscription.
+ * @param blockRange Subscriptions options that let you configure the subscription.
* @param indexFilterValues An object where the keys are indexed args returned by the event and
* the value is the value you are interested in. E.g `{_from: aUserAddressHex}`
* @return Array of logs that match the parameters
diff --git a/packages/0x.js/test/exchange_wrapper_test.ts b/packages/0x.js/test/exchange_wrapper_test.ts
index 6605e7e52..9c55069da 100644
--- a/packages/0x.js/test/exchange_wrapper_test.ts
+++ b/packages/0x.js/test/exchange_wrapper_test.ts
@@ -5,6 +5,7 @@ import 'mocha';
import * as Web3 from 'web3';
import {
+ BlockRange,
DecodedLogEvent,
ExchangeContractErrs,
ExchangeEvents,
@@ -13,7 +14,6 @@ import {
OrderCancellationRequest,
OrderFillRequest,
SignedOrder,
- BlockRange,
Token,
ZeroEx,
} from '../src';
diff --git a/packages/0x.js/test/token_wrapper_test.ts b/packages/0x.js/test/token_wrapper_test.ts
index 5111a05d2..48742b663 100644
--- a/packages/0x.js/test/token_wrapper_test.ts
+++ b/packages/0x.js/test/token_wrapper_test.ts
@@ -7,8 +7,8 @@ import * as Web3 from 'web3';
import {
ApprovalContractEventArgs,
- DecodedLogEvent,
BlockRange,
+ DecodedLogEvent,
Token,
TokenEvents,
TransferContractEventArgs,