After upgrading to OpenLayers 6.6.1 I'm receiving the error
Generic type 'VectorLayer' requires 1 type argument(s)
Generic type 'Feature' requires 1 type argument(s).
On this code...
import olLayerVector from 'ol/layer/Vector';
import olFeature from 'ol/Feature';
public static highlightOverlay: olLayerVector = new olLayerVector({});
const selectedFeatures: Array<olFeature> =
MapValues.highlightOverlay.getSource().getFeatures();
I've looked through https://github.com/openlayers/openlayers/releases and I cannot find reference to this being changed or what it should be changed to?
I have 77 errors to fix and no guide as to how to upgrade? Any help is greatly appreciated.