Destructure Lodash require
s
This commit is contained in:
parent
b7b6195cfc
commit
d9be6a0f94
13 changed files with 46 additions and 37 deletions
|
@ -6,11 +6,13 @@
|
|||
|
||||
/* global IDBKeyRange */
|
||||
|
||||
const isFunction = require('lodash/isFunction');
|
||||
const isNumber = require('lodash/isNumber');
|
||||
const isObject = require('lodash/isObject');
|
||||
const isString = require('lodash/isString');
|
||||
const last = require('lodash/last');
|
||||
const {
|
||||
isFunction,
|
||||
isNumber,
|
||||
isObject,
|
||||
isString,
|
||||
last,
|
||||
} = require('lodash');
|
||||
|
||||
const database = require('./database');
|
||||
const Message = require('./types/message');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue