Open meganrogge opened 3 years ago
With the following code, TS claims that {@link TreeItem} is incorrect
{@link TreeItem}
export interface TreeDataProvider<T> { /** * @return {@link TreeItem} representation of the element */ getTreeItem(element: T): TreeItem; }
adding a character between returnand {@link TreeItem} resolves it.
return
I believe that the root cause is that we are highlighting {@link ...} as if was a type. When looking for types, we probably need a look ahead for the { to make sure it is not followed by @
{@link ...}
{
@
With the following code, TS claims that
{@link TreeItem}
is incorrectadding a character between
return
and{@link TreeItem}
resolves it.