diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-10-18 22:22:58 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-10-18 22:45:39 +0800 |
commit | 9b0f68f9a99574917616001b6cd95d54cb263df4 (patch) | |
tree | c00041cac1adc671243de5f091ad2c90e8033da8 /src/utils/lodash.ts | |
parent | f4eb73ca7cd7451e4ea00eee84e8ab3909cd8b36 (diff) | |
download | dexon-sol-tools-9b0f68f9a99574917616001b6cd95d54cb263df4.tar dexon-sol-tools-9b0f68f9a99574917616001b6cd95d54cb263df4.tar.gz dexon-sol-tools-9b0f68f9a99574917616001b6cd95d54cb263df4.tar.bz2 dexon-sol-tools-9b0f68f9a99574917616001b6cd95d54cb263df4.tar.lz dexon-sol-tools-9b0f68f9a99574917616001b6cd95d54cb263df4.tar.xz dexon-sol-tools-9b0f68f9a99574917616001b6cd95d54cb263df4.tar.zst dexon-sol-tools-9b0f68f9a99574917616001b6cd95d54cb263df4.zip |
Include only used lodash functions
Diffstat (limited to 'src/utils/lodash.ts')
-rw-r--r-- | src/utils/lodash.ts | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/src/utils/lodash.ts b/src/utils/lodash.ts new file mode 100644 index 000000000..67e4e5a9a --- /dev/null +++ b/src/utils/lodash.ts @@ -0,0 +1,55 @@ +import assign from 'lodash-es/assign'; +import map from 'lodash-es/map'; +import values from 'lodash-es/values'; +import isUndefined from 'lodash-es/isUndefined'; +import isNull from 'lodash-es/isNull'; +import includes from 'lodash-es/includes'; +import each from 'lodash-es/each'; +import forEach from 'lodash-es/forEach'; +import filter from 'lodash-es/filter'; +import startsWith from 'lodash-es/startsWith'; +import padStart from 'lodash-es/padStart'; +import find from 'lodash-es/find'; +import zipWith from 'lodash-es/zipWith'; +import every from 'lodash-es/every'; +import isEmpty from 'lodash-es/isEmpty'; +import unzip from 'lodash-es/unzip'; +import pull from 'lodash-es/pull'; +import keys from 'lodash-es/keys'; +import uniq from 'lodash-es/uniq'; +import isArray from 'lodash-es/isArray'; +import isObject from 'lodash-es/isObject'; +import isString from 'lodash-es/isString'; +import isFinite from 'lodash-es/isFinite'; +import isNumber from 'lodash-es/isNumber'; +import isBoolean from 'lodash-es/isBoolean'; +import isFunction from 'lodash-es/isFunction'; + +export const _ = { + assign, + map, + values, + isUndefined, + isNull, + includes, + each, + forEach, + filter, + startsWith, + padStart, + find, + zipWith, + every, + isEmpty, + unzip, + pull, + keys, + uniq, + isArray, + isObject, + isString, + isFinite, + isNumber, + isBoolean, + isFunction, +}; |