Simplify typing in EsriJSON format

This commit is contained in:
Frederic Junod
2019-02-05 10:27:26 +01:00
parent e0aad192af
commit 97b21145c4
2 changed files with 15 additions and 20 deletions

View File

@@ -718,8 +718,7 @@ class WKT extends TextFeature {
* @inheritDoc
*/
writeGeometryText(geometry, opt_options) {
return encode(/** @type {import("../geom/Geometry.js").default} */ (
transformGeometryWithOptions(geometry, true, opt_options)));
return encode(transformGeometryWithOptions(geometry, true, opt_options));
}
}