Creates a link to a specified namepath or web page. The link text can be provided in different formats.
The following is an example of using the {@link} tag to provide the link text.
/**
* See {@link MyClass}.
* Also, check out {@link https://www.example.com/cn/ | Example} and
* {@link https://www.example.com/cn/ Example}.
*/
export function myFunction() {}
If namepath is a class name, for example, MyClass in the example, you need to define the class in the current module to perform correct redirection. Currently, redirection to attributes and methods in a class is not supported.