From a2b895f7a9083d345f6ae54efeff0e230d6a0cae Mon Sep 17 00:00:00 2001 From: Cassidy <62119269+systemc12ashe@users.noreply.github.com> Date: Fri, 10 Nov 2023 13:28:51 -0500 Subject: [PATCH] fix: update setShadow TSDoc for Block and BlockSvg (#7639) * fix: update setShadow TSDoc for Block and BlockSvg * fix: Wrap comment lines at col 80 * fix: Corrected formatting with Prettier --- core/block.ts | 2 ++ core/block_svg.ts | 2 ++ 2 files changed, 4 insertions(+) diff --git a/core/block.ts b/core/block.ts index d57043e558a..8f64b20a270 100644 --- a/core/block.ts +++ b/core/block.ts @@ -865,6 +865,8 @@ export class Block implements IASTNodeLocation, IDeletable { /** * Set whether this block is a shadow block or not. + * This method is internal and should not be called by users of Blockly. To + * create shadow blocks programmatically call connection.setShadowState * * @param shadow True if a shadow. * @internal diff --git a/core/block_svg.ts b/core/block_svg.ts index 5ead73340d7..2ec157fa82e 100644 --- a/core/block_svg.ts +++ b/core/block_svg.ts @@ -755,6 +755,8 @@ export class BlockSvg /** * Sets whether this block is a shadow block or not. + * This method is internal and should not be called by users of Blockly. To + * create shadow blocks programmatically call connection.setShadowState * * @param shadow True if a shadow. * @internal