File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -233,15 +233,15 @@ export class NodeParser {
233
233
// The tag is defined, but it is used incorrectly
234
234
if ( expectingInlineTag ) {
235
235
this . _parserContext . log . addMessageForTokenSequence (
236
- TSDocMessageId . InlineTagMissingBraces ,
237
- `The TSDoc tag "${ tagName } " is an inline tag; it must be enclosed in "{ }" braces` ,
236
+ TSDocMessageId . TagShouldNotHaveBraces ,
237
+ `The TSDoc tag "${ tagName } " is not an inline tag; it must not be enclosed in "{ }" braces` ,
238
238
tokenSequenceForErrorContext ,
239
239
nodeForErrorContext
240
240
) ;
241
241
} else {
242
242
this . _parserContext . log . addMessageForTokenSequence (
243
- TSDocMessageId . TagShouldNotHaveBraces ,
244
- `The TSDoc tag "${ tagName } " is not an inline tag; it must not be enclosed in "{ }" braces` ,
243
+ TSDocMessageId . InlineTagMissingBraces ,
244
+ `The TSDoc tag "${ tagName } " is an inline tag; it must be enclosed in "{ }" braces` ,
245
245
tokenSequenceForErrorContext ,
246
246
nodeForErrorContext
247
247
) ;
You can’t perform that action at this time.
0 commit comments