Skip to content

Commit

Permalink
fix: update setShadow TSDoc for Block and BlockSvg (#7639)
Browse files Browse the repository at this point in the history
* fix: update setShadow TSDoc for Block and BlockSvg

* fix: Wrap comment lines at col 80

* fix: Corrected formatting with Prettier
  • Loading branch information
systemc12ashe authored Nov 10, 2023
1 parent 02cd1c6 commit a2b895f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/block.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions core/block_svg.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a2b895f

Please sign in to comment.