I am working for the first time on open layers (angular 4). after installing and importing files in ts.
these are the imported files
import Map from 'ol/Map.js';
import View from 'ol/View.js';
import TileLayer from 'ol/layer/Tile.js';
import OSM from 'ol/source/OSM.js';
import TileWMS from 'ol/source/TileWMS.js';
new ol.Map({
I am getting this error Cannot find name 'ol'.