Skip to content

Commit

Permalink
Use ol v10 type generics for MapboxVectorLayer
Browse files Browse the repository at this point in the history
  • Loading branch information
ahocevar committed Aug 12, 2024
1 parent 3fb4fcc commit 15c7264
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 35 deletions.
75 changes: 41 additions & 34 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/MapboxVectorLayer.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ class ErrorEvent extends BaseEvent {
* [ol-mapbox-style](https://github.com/openlayers/ol-mapbox-style) library to be loaded as well.
*
* @param {Options} options Options.
* @extends {VectorTileLayer<import("ol/render/Feature.js").default>}
* @extends {VectorTileLayer<import("ol/source/VectorTile.js").default>}
* @fires module:ol/events/Event~BaseEvent#event:error
* @api
*/
Expand Down

0 comments on commit 15c7264

Please sign in to comment.