Migrate core/interfaces/i_bounded_element.js named requires

This commit is contained in:
kozbial
2021-07-16 12:05:45 -07:00
committed by Monica Kozbial
parent e922d2a831
commit bfc801ed9f

View File

@@ -14,7 +14,7 @@
goog.module('Blockly.IBoundedElement');
goog.module.declareLegacyNamespace();
goog.requireType('Blockly.utils.Rect');
const Rect = goog.requireType('Blockly.utils.Rect');
/**
@@ -27,7 +27,7 @@ const IBoundedElement = function() {};
* Returns the coordinates of a bounded element describing the dimensions of the
* element.
* Coordinate system: workspace coordinates.
* @return {!Blockly.utils.Rect} Object with coordinates of the bounded element.
* @return {!Rect} Object with coordinates of the bounded element.
*/
IBoundedElement.prototype.getBoundingRectangle;