I am working on an existing project and trying to move part of it to another build using gulp (grunt to gulp) and it seems one of the errors I am getting is the use of '=>' seeming to refer to lodash but I am not sure.
this is what one of the lins look like:
Object.keys(highlightTerms).forEach((k) => { msg = _highlightList(highlightTerms[k], k, msg); });
and I am not sure why the error is being called or how I can change it so that the gulp builder compiles it.
This occurs in multiple files. Hopefully some light can be shed on this, I can't find anything related to it.