Imagine we have a project where we export XML documentation to JSDoc, with the following code:
namespace Foo;
/// <summary>
/// Handles a collection of <see cref="FooBar" />s
/// </summary>
/// <param name="Items">Unique items present in the collection. </param>
[TsInterface]
public record Bar(List<FooBar> Items);
[TsInterface]
public record FooBar(int X);
That results in the following output:
module foo {
/** Handles a collection of <see cref="T:Foo.FooBar" />s. */
export interface IGetCountriesQueryResponse
{
/** Unique items present in the collection. */
Items: foo.IFooBar[];
}
export interface IFooBar
{
x: number;
}
}
Naturally, I'd want something like @link to show up, and not the original <see cref="..." />, or for the XML tag to be terminated and the final type mentioned in string format if not present as a generated entity. Other XML tags (paramref, etc) also need to be taken into account.
Imagine we have a project where we export XML documentation to JSDoc, with the following code:
That results in the following output:
Naturally, I'd want something like
@linkto show up, and not the original<see cref="..." />, or for the XML tag to be terminated and the final type mentioned in string format if not present as a generated entity. Other XML tags (paramref, etc) also need to be taken into account.