minimal adjustments
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / table / dist / calculateCellHeight.js.flow
index 3eca8d7ff2572813eb808488a398947973c14803..172604390b2ecb9821cfa537a2979ee855507107 100644 (file)
@@ -1,4 +1,4 @@
-import _ from 'lodash';
+import isString from 'is-string';
 import wrapCell from './wrapCell';
 
 /**
@@ -8,7 +8,7 @@ import wrapCell from './wrapCell';
  * @returns {number}
  */
 export default (value, columnWidth, useWrapWord = false) => {
-  if (!_.isString(value)) {
+  if (!isString(value)) {
     throw new TypeError('Value must be a string.');
   }