Fix flyout createBlock annotation (#3749)

This commit is contained in:
Sam El-Husseini
2020-03-16 08:45:22 -07:00
committed by GitHub
parent 00bb99e0ff
commit 2d169eabd3

View File

@@ -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) {