aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/globals.d.ts1
-rw-r--r--src/utils/utils.ts2
2 files changed, 1 insertions, 2 deletions
diff --git a/src/globals.d.ts b/src/globals.d.ts
index 1faf468a7..3d19b96cc 100644
--- a/src/globals.d.ts
+++ b/src/globals.d.ts
@@ -2,7 +2,6 @@
/// <reference types='chai-as-promised-typescript-typings' />
declare module 'chai-bignumber';
declare module 'dirty-chai';
-declare module 'bn.js';
declare module 'request-promise-native';
declare module 'web3-provider-engine';
declare module 'web3-provider-engine/subproviders/rpc';
diff --git a/src/utils/utils.ts b/src/utils/utils.ts
index 6702de218..f2bf74860 100644
--- a/src/utils/utils.ts
+++ b/src/utils/utils.ts
@@ -1,9 +1,9 @@
import * as _ from 'lodash';
-import * as BN from 'bn.js';
import * as ethABI from 'ethereumjs-abi';
import * as ethUtil from 'ethereumjs-util';
import {Order, SignedOrder, SolidityTypes} from '../types';
import * as BigNumber from 'bignumber.js';
+import BN = require('bn.js');
export const utils = {
/**