From 2d169eabd39ca535477d19509a7f9baa968be309 Mon Sep 17 00:00:00 2001 From: Sam El-Husseini Date: Mon, 16 Mar 2020 08:45:22 -0700 Subject: [PATCH] Fix flyout createBlock annotation (#3749) --- core/flyout_base.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/flyout_base.js b/core/flyout_base.js index 3c7729b05..5d0628700 100644 --- a/core/flyout_base.js +++ b/core/flyout_base.js @@ -630,8 +630,8 @@ Blockly.Flyout.prototype.isBlockCreatable_ = function(block) { /** * Create a copy of this block on the workspace. * @param {!Blockly.BlockSvg} originalBlock The block to copy from the flyout. - * @return {!Blockly.BlockSvg} The newly created block, or null if something - * went wrong with deserialization. + * @return {!Blockly.BlockSvg} The newly created block. + * @throws {Error} if something went wrong with deserialization. * @package */ Blockly.Flyout.prototype.createBlock = function(originalBlock) {