From a5a9ed69eb7fb6203b2d7becc7f2ac36ff9d9304 Mon Sep 17 00:00:00 2001 From: Frederic Junod Date: Mon, 15 Aug 2016 16:33:33 +0200 Subject: [PATCH] Add missing curly braces in type annotations --- src/ol/format/esrijson.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ol/format/esrijson.js b/src/ol/format/esrijson.js index 97691101c8..c0de4c2fe7 100644 --- a/src/ol/format/esrijson.js +++ b/src/ol/format/esrijson.js @@ -254,9 +254,9 @@ ol.format.EsriJSON.readPolygonGeometry_ = function(object) { * @return {EsriJSONGeometry} EsriJSON geometry. */ ol.format.EsriJSON.writePointGeometry_ = function(geometry, opt_options) { - var coordinates = /** @type ol.geom.Point */ (geometry).getCoordinates(); + var coordinates = /** @type {ol.geom.Point} */ (geometry).getCoordinates(); var esriJSON; - var layout = /** @type ol.geom.Point */ (geometry).getLayout(); + var layout = /** @type {ol.geom.Point} */ (geometry).getLayout(); if (layout === ol.geom.GeometryLayout.XYZ) { esriJSON = /** @type {EsriJSONPoint} */ ({ x: coordinates[0],