export const set = (target: any, path: string, value: any): any => setByPath(target, (path || '').split('.'), value);