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

@@ -119,9 +119,7 @@ inherits(ScaleLine, Control);
* @api
*/
ScaleLine.prototype.getUnits = function() {
return (
/** @type {ol.control.ScaleLineUnits|undefined} */ this.get(UNITS)
);
return /** @type {ol.control.ScaleLineUnits|undefined} */ (this.get(UNITS));
};