Add explicit HACK comment when we import assert
This commit is contained in:
parent
0c120cb7a3
commit
3e7ee1f090
@ -1,5 +1,5 @@
|
|||||||
import { assert as sharedAssert } from '@0xproject/assert';
|
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
|
// tslint:disable-next-line:no-unused-variable
|
||||||
import { Schema, schemas } from '@0xproject/json-schemas';
|
import { Schema, schemas } from '@0xproject/json-schemas';
|
||||||
// tslint:disable-next-line:no-unused-variable
|
// tslint:disable-next-line:no-unused-variable
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import { assert as sharedAssert } from '@0xproject/assert';
|
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 { Schema } from '@0xproject/json-schemas'; // tslint:disable-line:no-unused-variable
|
||||||
import { isValidSignatureAsync } from '@0xproject/order-utils';
|
import { isValidSignatureAsync } from '@0xproject/order-utils';
|
||||||
import { ECSignature } from '@0xproject/types'; // tslint:disable-line:no-unused-variable
|
import { ECSignature } from '@0xproject/types'; // tslint:disable-line:no-unused-variable
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import { assert as sharedAssert } from '@0xproject/assert';
|
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:no-unused-variable
|
// tslint:disable-next-line:no-unused-variable
|
||||||
import { Schema } from '@0xproject/json-schemas';
|
import { Schema } from '@0xproject/json-schemas';
|
||||||
import { ECSignature, SignatureType } from '@0xproject/types';
|
import { ECSignature, SignatureType } from '@0xproject/types';
|
||||||
import { BigNumber } from '@0xproject/utils';
|
import { BigNumber } from '@0xproject/utils';
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import { assert as sharedAssert } from '@0xproject/assert';
|
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:no-unused-variable
|
// tslint:disable-next-line:no-unused-variable
|
||||||
import { Schema } from '@0xproject/json-schemas';
|
import { Schema } from '@0xproject/json-schemas';
|
||||||
import { ECSignature } from '@0xproject/types';
|
import { ECSignature } from '@0xproject/types';
|
||||||
import { BigNumber } from '@0xproject/utils';
|
import { BigNumber } from '@0xproject/utils';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user