-
Notifications
You must be signed in to change notification settings - Fork 13.2k
Closed as not planned
Closed as not planned
Copy link
Labels
BugA bug in TypeScriptA bug in TypeScriptDomain: JSDocRelates to JSDoc parsing and type generationRelates to JSDoc parsing and type generationFix AvailableA PR has been opened for this issueA PR has been opened for this issueIn DiscussionNot yet reached consensusNot yet reached consensusWorking as IntendedThe behavior described is the intended behavior; this is not a bugThe behavior described is the intended behavior; this is not a bug
Milestone
Description
Bug Report
π Search Terms
tsdoc, @throws, @link, tags
π Version & Regression Information
This changed between versions 4.9.5 and 5.0.4
β― Playground Link
Playground link with relevant code
π» Code
class FooError extends Error {}
class BarError extends Error {}
/**
* Performs blubber.
*
* @throws {@link FooError} if foo happens.
* @throws {@link BarError} if bar happens.
*/
function blubber() {}π Actual behavior
The @link tags after the @throw tags are parsed incorrectly, leading to this garbled tooltip:
π Expected behavior
The @link tags after the @throw tags are resolved correctly.
Metadata
Metadata
Assignees
Labels
BugA bug in TypeScriptA bug in TypeScriptDomain: JSDocRelates to JSDoc parsing and type generationRelates to JSDoc parsing and type generationFix AvailableA PR has been opened for this issueA PR has been opened for this issueIn DiscussionNot yet reached consensusNot yet reached consensusWorking as IntendedThe behavior described is the intended behavior; this is not a bugThe behavior described is the intended behavior; this is not a bug
