Skip to content

Commit

Permalink
genericMapObjectCollection: Add return type to toGeojson method
Browse files Browse the repository at this point in the history
  • Loading branch information
tahini committed Dec 20, 2023
1 parent 5df0791 commit c4573f6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export default abstract class GenericMapObjectCollection<
return this._idByIntegerId.get(featureIntegerId);
}

toGeojson() {
toGeojson(): GeoJSON.FeatureCollection<M> {
return {
type: 'FeatureCollection',
features: this.features
Expand Down

0 comments on commit c4573f6

Please sign in to comment.