Fix type on GeoJSON

This commit is contained in:
Sergi Ávila
2022-02-14 12:50:06 +01:00
parent 7e1bbd1c6d
commit f9bc546e1e

View File

@@ -66,6 +66,9 @@ class GeoJSON extends JSONFeature {
);
if (options.featureProjection) {
/**
* @type {import("../proj/Projection.js").default}
*/
this.defaultFeatureProjection = getProjection(options.featureProjection);
}