aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant/src/util
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-10-25 03:57:20 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-10-25 03:57:20 +0800
commitc5554fe30c199155d4e020028aa4aa1f808918b9 (patch)
tree8a214d474ce548e47f3c9ed1b564b100c2da507a /packages/instant/src/util
parent6da6540c038640abf75f703a294cb758c6defc47 (diff)
downloaddexon-sol-tools-c5554fe30c199155d4e020028aa4aa1f808918b9.tar
dexon-sol-tools-c5554fe30c199155d4e020028aa4aa1f808918b9.tar.gz
dexon-sol-tools-c5554fe30c199155d4e020028aa4aa1f808918b9.tar.bz2
dexon-sol-tools-c5554fe30c199155d4e020028aa4aa1f808918b9.tar.lz
dexon-sol-tools-c5554fe30c199155d4e020028aa4aa1f808918b9.tar.xz
dexon-sol-tools-c5554fe30c199155d4e020028aa4aa1f808918b9.tar.zst
dexon-sol-tools-c5554fe30c199155d4e020028aa4aa1f808918b9.zip
chore: run linter
Diffstat (limited to 'packages/instant/src/util')
-rw-r--r--packages/instant/src/util/asset.ts2
-rw-r--r--packages/instant/src/util/big_number.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/packages/instant/src/util/asset.ts b/packages/instant/src/util/asset.ts
index ebeba948e..e42727d84 100644
--- a/packages/instant/src/util/asset.ts
+++ b/packages/instant/src/util/asset.ts
@@ -2,7 +2,7 @@ import { AssetProxyId, ObjectMap } from '@0x/types';
import * as _ from 'lodash';
import { assetDataNetworkMapping } from '../data/asset_data_network_mapping';
-import { Asset, AssetMetaData, Network, ZeroExInstantError, ERC20Asset } from '../types';
+import { Asset, AssetMetaData, ERC20Asset, Network, ZeroExInstantError } from '../types';
export const assetUtils = {
createAssetFromAssetData: (
diff --git a/packages/instant/src/util/big_number.ts b/packages/instant/src/util/big_number.ts
index 773eb0cb4..a34d22d76 100644
--- a/packages/instant/src/util/big_number.ts
+++ b/packages/instant/src/util/big_number.ts
@@ -9,7 +9,7 @@ import * as _ from 'lodash';
* new BigNumberInput(1..) => still throws
*/
export class BigNumberInput extends BigNumber {
- private _hasDecimalPeriod: boolean;
+ private readonly _hasDecimalPeriod: boolean;
constructor(bigNumberString: string) {
const hasDecimalPeriod = _.endsWith(bigNumberString, '.');
let internalString = bigNumberString;