Destructure Lodash require
s
This commit is contained in:
parent
b7b6195cfc
commit
d9be6a0f94
13 changed files with 46 additions and 37 deletions
|
@ -1,10 +1,12 @@
|
|||
const isFunction = require('lodash/isFunction');
|
||||
const isNumber = require('lodash/isNumber');
|
||||
const isObject = require('lodash/isObject');
|
||||
const isString = require('lodash/isString');
|
||||
const random = require('lodash/random');
|
||||
const range = require('lodash/range');
|
||||
const sample = require('lodash/sample');
|
||||
const {
|
||||
isFunction,
|
||||
isNumber,
|
||||
isObject,
|
||||
isString,
|
||||
random,
|
||||
range,
|
||||
sample,
|
||||
} = require('lodash');
|
||||
|
||||
const Message = require('./types/message');
|
||||
const { deferredToPromise } = require('./deferred_to_promise');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue