Skip to content

Commit

Permalink
Merge pull request #1184 from openlayers/ol10-types
Browse files Browse the repository at this point in the history
Use ol v10 type generics for MapboxVectorLayer
  • Loading branch information
ahocevar authored Aug 12, 2024
2 parents 3fb4fcc + 15c7264 commit 2f47027
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 2f47027

Please sign in to comment.