Fix parens grouping in typecasts
This commit is contained in:
@@ -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));
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user