ngx-openlayers 1.0.0-next.7
ol 5.3.1
@types/ol 5.3.0
There are numerous compile errors ie:
_ERROR in node_modules/ngx-openlayers/lib/layers/layer.component.d.ts(2,10): error TS2305: Module '"C:/source/git/Titan2/TitanApp/nodemodules/@types/ol/events"' has no exported member 'Event'.
This occurs as Event is not exported from .\node_modules\@types\ol\events\index.d.ts
Similarly:
_node_modules/ngx-openlayers/lib/layers/layervectortile.component.d.ts(2,10): error TS2305: Module '"C:/source/git/Titan2/TitanApp/nodemodules/@types/ol/layer/VectorTile"' has no exported member 'RenderType'.
This looks like it should be using VectorTileRenderType as in .\node_modules\@types\ol\layer\VectorTile.d.ts
There are many other similar errors.
Am I missing something? Should I be using the definitely typed types (I notice they are quite new)?
I have installed:
ngx-openlayers 1.0.0-next.7 ol 5.3.1 @types/ol 5.3.0
There are numerous compile errors ie:
_ERROR in node_modules/ngx-openlayers/lib/layers/layer.component.d.ts(2,10): error TS2305: Module '"C:/source/git/Titan2/TitanApp/nodemodules/@types/ol/events"' has no exported member 'Event'.
This occurs as Event is not exported from .\node_modules\@types\ol\events\index.d.ts
Similarly:
_node_modules/ngx-openlayers/lib/layers/layervectortile.component.d.ts(2,10): error TS2305: Module '"C:/source/git/Titan2/TitanApp/nodemodules/@types/ol/layer/VectorTile"' has no exported member 'RenderType'.
This looks like it should be using VectorTileRenderType as in .\node_modules\@types\ol\layer\VectorTile.d.ts
There are many other similar errors.
Am I missing something? Should I be using the definitely typed types (I notice they are quite new)?
Thanks