Skip to content

Commit

Permalink
Update _tools/check_docs.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
  • Loading branch information
dsherret and iuioiua committed May 23, 2024
1 parent 9286160 commit 61612e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _tools/check_docs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ function assertHasReturnTag(document: { jsDoc: JsDoc; location: Location }) {
const tag = document.jsDoc.tags?.find((tag) => tag.kind === "return");
if (tag === undefined) {
diagnostics.push(
new DocumentError("Symbol must have a @returns tag", document),
new DocumentError("Symbol must have a @return or @returns tag", document),
);
} else {
assert(
Expand Down

0 comments on commit 61612e0

Please sign in to comment.