You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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/node_modules/@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/node_modules/@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
The text was updated successfully, but these errors were encountered:
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/node_modules/@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/node_modules/@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
The text was updated successfully, but these errors were encountered: