Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ boolean writeMemberDocs(Model model, MemberShape member) {
docs = docs.replace("{", "\\{")
.replace("}", "\\}");
if (member.getTrait(DeprecatedTrait.class).isPresent() || isTargetDeprecated(model, member)) {
docs = "@deprecated\n\n" + docs;
docs = docs + "\n\n@deprecated";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is needed since the tsdoc does not support explicit @description block like jsdoc. tsdoc uses only the implied description block and it must come first in the docblock order.

}
docs = addReleaseTag(member, docs);
writeDocs(docs);
Expand Down