Fix parens grouping in typecasts

This commit is contained in:
Frederic Junod
2018-02-15 08:31:38 +01:00
parent 4744849b76
commit a8f4348add
16 changed files with 45 additions and 102 deletions

View File

@@ -133,9 +133,7 @@ MousePosition.prototype.handleProjectionChanged_ = function() {
* @api
*/
MousePosition.prototype.getCoordinateFormat = function() {
return (
/** @type {ol.CoordinateFormatType|undefined} */ this.get(COORDINATE_FORMAT)
);
return /** @type {ol.CoordinateFormatType|undefined} */ (this.get(COORDINATE_FORMAT));
};
@@ -147,9 +145,7 @@ MousePosition.prototype.getCoordinateFormat = function() {
* @api
*/
MousePosition.prototype.getProjection = function() {
return (
/** @type {ol.proj.Projection|undefined} */ this.get(PROJECTION)
);
return /** @type {ol.proj.Projection|undefined} */ (this.get(PROJECTION));
};