Element -> SVGElement (#3140)

* Use SVGElement instead of Element for the results of createSvgElement

* More SVGElement annotations.
This commit is contained in:
Rachel Fenichel
2019-10-02 16:12:31 -07:00
committed by Sam El-Husseini
parent eb5f1cc94a
commit 79bedca5a7
14 changed files with 31 additions and 31 deletions

View File

@@ -115,7 +115,7 @@ Blockly.FlyoutButton.prototype.onMouseUpWrapper_ = null;
/**
* Create the button elements.
* @return {!Element} The button's SVG group.
* @return {!SVGElement} The button's SVG group.
*/
Blockly.FlyoutButton.prototype.createDom = function() {
var cssClass = this.isLabel_ ? 'blocklyFlyoutLabel' : 'blocklyFlyoutButton';