aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrandon Millman <brandon.millman@gmail.com>2018-05-30 02:16:10 +0800
committerBrandon Millman <brandon.millman@gmail.com>2018-07-12 01:25:54 +0800
commit3e7ee1f0900f7d365ce73f62c353c7d653a35861 (patch)
treeaceed2e6868a5985d1d4a8175c87040b7d310905
parent0c120cb7a3a7796504e577a99452ea8909989cfc (diff)
downloaddexon-0x-contracts-3e7ee1f0900f7d365ce73f62c353c7d653a35861.tar
dexon-0x-contracts-3e7ee1f0900f7d365ce73f62c353c7d653a35861.tar.gz
dexon-0x-contracts-3e7ee1f0900f7d365ce73f62c353c7d653a35861.tar.bz2
dexon-0x-contracts-3e7ee1f0900f7d365ce73f62c353c7d653a35861.tar.lz
dexon-0x-contracts-3e7ee1f0900f7d365ce73f62c353c7d653a35861.tar.xz
dexon-0x-contracts-3e7ee1f0900f7d365ce73f62c353c7d653a35861.tar.zst
dexon-0x-contracts-3e7ee1f0900f7d365ce73f62c353c7d653a35861.zip
Add explicit HACK comment when we import assert
-rw-r--r--packages/connect/src/utils/assert.ts2
-rw-r--r--packages/contract-wrappers/src/utils/assert.ts2
-rw-r--r--packages/order-utils/src/assert.ts4
-rw-r--r--packages/order-watcher/src/utils/assert.ts4
4 files changed, 6 insertions, 6 deletions
diff --git a/packages/connect/src/utils/assert.ts b/packages/connect/src/utils/assert.ts
index f8241aacb..b5d5283bd 100644
--- a/packages/connect/src/utils/assert.ts
+++ b/packages/connect/src/utils/assert.ts
@@ -1,5 +1,5 @@
import { assert as sharedAssert } from '@0xproject/assert';
-// We need those two unused imports because they're actually used by sharedAssert which gets injected here
+// HACK: We need those two unused imports because they're actually used by sharedAssert which gets injected here
// tslint:disable-next-line:no-unused-variable
import { Schema, schemas } from '@0xproject/json-schemas';
// tslint:disable-next-line:no-unused-variable
diff --git a/packages/contract-wrappers/src/utils/assert.ts b/packages/contract-wrappers/src/utils/assert.ts
index da6697b08..842b16fa0 100644
--- a/packages/contract-wrappers/src/utils/assert.ts
+++ b/packages/contract-wrappers/src/utils/assert.ts
@@ -1,5 +1,5 @@
import { assert as sharedAssert } from '@0xproject/assert';
-// We need those two unused imports because they're actually used by sharedAssert which gets injected here
+// HACK: We need those two unused imports because they're actually used by sharedAssert which gets injected here
import { Schema } from '@0xproject/json-schemas'; // tslint:disable-line:no-unused-variable
import { isValidSignatureAsync } from '@0xproject/order-utils';
import { ECSignature } from '@0xproject/types'; // tslint:disable-line:no-unused-variable
diff --git a/packages/order-utils/src/assert.ts b/packages/order-utils/src/assert.ts
index b4b57d02a..15b4a024f 100644
--- a/packages/order-utils/src/assert.ts
+++ b/packages/order-utils/src/assert.ts
@@ -1,6 +1,6 @@
import { assert as sharedAssert } from '@0xproject/assert';
-// We need those two unused imports because they're actually used by sharedAssert which gets injected here
-// tslint:disable:no-unused-variable
+// HACK: We need those two unused imports because they're actually used by sharedAssert which gets injected here
+// tslint:disable-next-line:no-unused-variable
import { Schema } from '@0xproject/json-schemas';
import { ECSignature, SignatureType } from '@0xproject/types';
import { BigNumber } from '@0xproject/utils';
diff --git a/packages/order-watcher/src/utils/assert.ts b/packages/order-watcher/src/utils/assert.ts
index 5d7f72716..fc85de958 100644
--- a/packages/order-watcher/src/utils/assert.ts
+++ b/packages/order-watcher/src/utils/assert.ts
@@ -1,6 +1,6 @@
import { assert as sharedAssert } from '@0xproject/assert';
-// We need those two unused imports because they're actually used by sharedAssert which gets injected here
-// tslint:disable:no-unused-variable
+// HACK: We need those two unused imports because they're actually used by sharedAssert which gets injected here
+// tslint:disable-next-line:no-unused-variable
import { Schema } from '@0xproject/json-schemas';
import { ECSignature } from '@0xproject/types';
import { BigNumber } from '@0xproject/utils';