Skip to content

Commit

Permalink
Add support for @augments
Browse files Browse the repository at this point in the history
  • Loading branch information
waynemwashuma committed Aug 12, 2024
1 parent 910f99b commit ec1f863
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/utils/options/tsdoc-defaults.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ export const blockTags = [
"@default",
"@document",
"@extends",
"@augments", //Alias for @extends
"@yields",
"@group",
"@groupDescription",
Expand Down
4 changes: 4 additions & 0 deletions tsdoc.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,10 @@
"tagName": "@extends",
"syntaxKind": "block"
},
{
"tagName": "@augments",
"syntaxKind": "block"
},
{
// TSDoc defines @returns, we also recognize @return for JSDoc compat
"tagName": "@return",
Expand Down

0 comments on commit ec1f863

Please sign in to comment.