Upgrade to OpenLayers 6.6.1 Create an array of olFeature i.e (const selectedFeatures: Array = olLayerVector.getSource().getFeatures(); See error Generic type 'Feature ...
I'm currently using OpenLayers 4.6.4 with @types/openlayers 4.6.4 in my TypeScript Angular 6 project. When I'm including the types in my project import * as ol from ...