diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-06-21 20:11:06 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-06-21 20:11:06 +0800 |
commit | a1c363a8af3cbfa2d843aaf7ddd05390db7b8f9b (patch) | |
tree | 7f4d4ee9ad766860288d22ee7875f70f0d951af0 /src/utils | |
parent | 40a7be0690c81d2e42543aa075ef8da6606e7b7e (diff) | |
download | dexon-sol-tools-a1c363a8af3cbfa2d843aaf7ddd05390db7b8f9b.tar dexon-sol-tools-a1c363a8af3cbfa2d843aaf7ddd05390db7b8f9b.tar.gz dexon-sol-tools-a1c363a8af3cbfa2d843aaf7ddd05390db7b8f9b.tar.bz2 dexon-sol-tools-a1c363a8af3cbfa2d843aaf7ddd05390db7b8f9b.tar.lz dexon-sol-tools-a1c363a8af3cbfa2d843aaf7ddd05390db7b8f9b.tar.xz dexon-sol-tools-a1c363a8af3cbfa2d843aaf7ddd05390db7b8f9b.tar.zst dexon-sol-tools-a1c363a8af3cbfa2d843aaf7ddd05390db7b8f9b.zip |
Fall back to import x = require() syntax
Diffstat (limited to 'src/utils')
-rw-r--r-- | src/utils/assert.ts | 14 | ||||
-rw-r--r-- | src/utils/decorators.ts | 2 | ||||
-rw-r--r-- | src/utils/utils.ts | 4 |
3 files changed, 10 insertions, 10 deletions
diff --git a/src/utils/assert.ts b/src/utils/assert.ts index c4f1915e7..efc7ed366 100644 --- a/src/utils/assert.ts +++ b/src/utils/assert.ts @@ -1,10 +1,10 @@ -import uniq from 'lodash/uniq'; -import isEmpty from 'lodash/isEmpty'; -import isObject from 'lodash/isObject'; -import isFinite from 'lodash/isFinite'; -import isString from 'lodash/isString'; -import isBoolean from 'lodash/isBoolean'; -import isUndefined from 'lodash/isUndefined'; +import uniq = require('lodash/uniq'); +import isEmpty = require('lodash/isEmpty'); +import isObject = require('lodash/isObject'); +import isFinite = require('lodash/isFinite'); +import isString = require('lodash/isString'); +import isBoolean = require('lodash/isBoolean'); +import isUndefined = require('lodash/isUndefined'); import * as BigNumber from 'bignumber.js'; import * as Web3 from 'web3'; import {Web3Wrapper} from '../web3_wrapper'; diff --git a/src/utils/decorators.ts b/src/utils/decorators.ts index f8786dbbe..b06e96747 100644 --- a/src/utils/decorators.ts +++ b/src/utils/decorators.ts @@ -1,4 +1,4 @@ -import includes from 'lodash/includes'; +import includes = require('lodash/includes'); import {constants} from './constants'; import {AsyncMethod, ZeroExError} from '../types'; diff --git a/src/utils/utils.ts b/src/utils/utils.ts index e4e7b77ab..2db611ccb 100644 --- a/src/utils/utils.ts +++ b/src/utils/utils.ts @@ -1,5 +1,5 @@ -import map from 'lodash/map'; -import includes from 'lodash/includes'; +import map = require('lodash/map'); +import includes = require('lodash/includes'); import * as BN from 'bn.js'; import * as ethABI from 'ethereumjs-abi'; import * as ethUtil from 'ethereumjs-util'; |