tsdoc icon indicating copy to clipboard operation
tsdoc copied to clipboard

`tsdoc-reference-unquoted-identifier` is incorrectly reported for certain identifiers

Open dsogari opened this issue 2 years ago • 2 comments

For example, {@link type} gives this error:

tsdoc-reference-unquoted-identifier: The identifier "type" must be quoted because it is a TSDoc system selector name  tsdoc/syntax

Originally posted by @diegosogari in https://github.com/microsoft/tsdoc/issues/148#issuecomment-1867669304

dsogari avatar Dec 22 '23 13:12 dsogari

Any updates on this? I'm facing the same issue for {@link Something.type}. When I replace it with {@link Something["type"]}, it throws the following error:

tsdoc-reference-missing-dot: Expecting a period before the next component of a declaration reference

sagargurtu avatar Sep 30 '24 06:09 sagargurtu

Any updates on this? I'm facing the same issue for {@link Something.type}. When I replace it with {@link Something["type"]}, it throws the following error:

tsdoc-reference-missing-dot: Expecting a period before the next component of a declaration reference

@sagargurtu, you just need to use {@link Something."type"}. See @link documentation.

pillowfication avatar Oct 11 '24 23:10 pillowfication