microsoft / tsdoc

A doc comment standard for TypeScript
https://tsdoc.org/
MIT License
4.7k stars 130 forks source link

Parse new DeclarationReference format in TSDoc #325

Open rbuckton opened 2 years ago

rbuckton commented 2 years ago

This builds on #324 to support parsing the new DeclarationReference format in TSDoc.

octogonz commented 2 years ago

@rbuckton Thanks for contributing this PR! I apologize I haven't had a chance to look at it yet. I've been very busy the past week, but I should have some time on Friday.

Gerrit0 commented 2 years ago

One concern I have:

This new form of declaration references appears to be incapable of supporting the {@label} tag.

https://github.com/microsoft/tsdoc/blob/b7bddc1ceb6b6759857c66ef3af6e5e95655fb8c/tsdoc/src/beta/DeclarationReference.grammarkdown#L157-L161