// @ts-ignore export { get, set, has } from 'lodash'; // simple uuid export function uuid() { return ((Math.random() * 1e6) >> 0).toString(36); } export const omit = (obj: Record, keys: string[]) => { const shallowCopy = Object.assign({}, obj); for (let i = 0; i < keys.length; i += 1) { const key = keys[i]; delete shallowCopy[key]; } return shallowCopy; };