How can I refer to another typescript in the comments / JSDoc?

I am familiar with Javadoc. In the Javadoc, you can put a link that links the Javadoc to a different type , for example:

/**
 * some java thingy. see this other java thingy too {@link OtherThingy}
 */
public class Thingy { /*...*/ }

/**
 * some other java thingy. see the first java thingy too {@link Thingy}
 */
public class OtherThingy{ /*...*/ }

      

Can I do the same in a typescript JSDoc style? I know I can use markdown in comments and I can post web links, but that's not really what I'm going to do.

Any links to JSDoc / typescript documentation tools would also be helpful :)

Edit . In the answers below, this is a JSDoc feature, but doesn't seem to be included in VSCode. Is there any valid syntax in VSCode?

+3


source to share


1 answer


Are you sure that although your mileage may vary.

Using @link file in Selenium-Webdriver TypeScript file



Docs about @link in JSDoc

+3


source







All Articles