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
+3 -3
View File
@@ -190,7 +190,7 @@ Heatmap.prototype.createCircle_ = function() {
* @observable
*/
Heatmap.prototype.getBlur = function() {
return (/** @type {number} */ this.get(Property.BLUR));
return /** @type {number} */ (this.get(Property.BLUR));
};
@@ -201,7 +201,7 @@ Heatmap.prototype.getBlur = function() {
* @observable
*/
Heatmap.prototype.getGradient = function() {
return (/** @type {Array.<string>} */ this.get(Property.GRADIENT));
return /** @type {Array.<string>} */ (this.get(Property.GRADIENT));
};
@@ -212,7 +212,7 @@ Heatmap.prototype.getGradient = function() {
* @observable
*/
Heatmap.prototype.getRadius = function() {
return (/** @type {number} */ this.get(Property.RADIUS));
return /** @type {number} */ (this.get(Property.RADIUS));
};