You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
warning Encountered an unescaped open brace without an inline tag in comment
Expected Behavior
the same as in 0.22.18
Actual Behavior
a warning is shown
Steps to reproduce the bug
warning Encountered an unescaped open brace without an inline tag in comment at ./src/framework/UiElement/private/UiElement.ts:288.
warning Unmatched closing brace in comment at ./src/framework/UiElement/private/UiElement.ts:288.
The line 288 is the first line in the following example:
/** * Register a blur event handler. * * @param {eventCallbackType} handler - Callback function. * @example * element.onChange(element => {console.log(element.getValueString());}); */publiconBlur(handler: eventCallbackType): void{// eslint-disable-line @typescript-eslint/no-unused-vars
console.warn(this.getError('The "onBlur" method is not available for this element'));}
Environment
Typedoc version: 0.23.2
TypeScript version: 4.7.4
Node.js version: 18.4.0
OS: maCOS 12.2
The text was updated successfully, but these errors were encountered:
doberkofler
changed the title
warning Encountered an unescaped open brace without an inline tag in comment starting with version 0.23.1
warning Encountered an unescaped open brace without an inline tag in comment starting with version 0.23.0
Jun 28, 2022
Hmm, this is unfortunate. The warning is valid, but for compatibility with horrible JSDoc style example tags, it should probably be suppressed when first scanning through @example blocks in case they'll be treated as code.
Search terms
warning Encountered an unescaped open brace without an inline tag in comment
Expected Behavior
the same as in 0.22.18
Actual Behavior
a warning is shown
Steps to reproduce the bug
warning Encountered an unescaped open brace without an inline tag in comment at ./src/framework/UiElement/private/UiElement.ts:288.
warning Unmatched closing brace in comment at ./src/framework/UiElement/private/UiElement.ts:288.
The line 288 is the first line in the following example:
Environment
The text was updated successfully, but these errors were encountered: