tsdoc
tsdoc copied to clipboard
`tsdoc-reference-unquoted-identifier` is incorrectly reported for certain identifiers
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
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
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.