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

@@ -64,7 +64,7 @@ inherits(VectorTileLayer, VectorLayer);
* @api
*/
VectorTileLayer.prototype.getPreload = function() {
return (/** @type {number} */ this.get(TileProperty.PRELOAD));
return /** @type {number} */ (this.get(TileProperty.PRELOAD));
};
@@ -75,7 +75,7 @@ VectorTileLayer.prototype.getPreload = function() {
* @api
*/
VectorTileLayer.prototype.getUseInterimTilesOnError = function() {
return (/** @type {boolean} */ this.get(TileProperty.USE_INTERIM_TILES_ON_ERROR));
return /** @type {boolean} */ (this.get(TileProperty.USE_INTERIM_TILES_ON_ERROR));
};