chore!: Fix warnings when generating docs. (#8660)

This commit is contained in:
Aaron Dodson
2025-01-06 10:53:45 -08:00
committed by GitHub
parent 54ebfb7a0e
commit eeef2edf34
11 changed files with 14 additions and 18 deletions

View File

@@ -1411,7 +1411,7 @@ export class Block implements IASTNodeLocation {
return this.disabledReasons.size === 0;
}
/** @deprecated v11 - Get whether the block is manually disabled. */
/** @deprecated v11 - Get or sets whether the block is manually disabled. */
private get disabled(): boolean {
deprecation.warn(
'disabled',
@@ -1422,7 +1422,6 @@ export class Block implements IASTNodeLocation {
return this.hasDisabledReason(constants.MANUALLY_DISABLED);
}
/** @deprecated v11 - Set whether the block is manually disabled. */
private set disabled(value: boolean) {
deprecation.warn(
'disabled',
@@ -2519,7 +2518,7 @@ export class Block implements IASTNodeLocation {
*
* Intended to on be used in console logs and errors. If you need a string
* that uses the user's native language (including block text, field values,
* and child blocks), use [toString()]{@link Block#toString}.
* and child blocks), use {@link (Block:class).toString | toString()}.
*
* @returns The description.
*/