File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -44038,7 +44038,6 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker {
4403844038
4403944039 function checkSourceElementWorker(node: Node): void {
4404044040 if (canHaveJSDoc(node)) {
44041- // TODO: This part still needs to be disabled for tsc in a lazy-jsdoc-parsing build
4404244041 forEach(node.jsDoc, ({ comment, tags }) => {
4404344042 checkJSDocCommentWorker(comment);
4404444043 forEach(tags, tag => {
Original file line number Diff line number Diff line change @@ -1767,8 +1767,10 @@ namespace Parser {
17671767 function shouldCheckJSDoc<T extends HasJSDoc>(node: T, comment: ts.CommentRange) {
17681768 if (isInTsserver) return true;
17691769 if (node.flags & NodeFlags.JavaScriptFile) return true;
1770- const i = sourceText.indexOf("@link", comment.pos)
1771- if (comment.pos < i && i < comment.end) return true;
1770+ const link = sourceText.indexOf("@link", comment.pos);
1771+ const see = sourceText.indexOf("@see", comment.pos);
1772+ if (comment.pos < link && link < comment.end) return true;
1773+ if (comment.pos < see && see < comment.end) return true;
17721774 }
17731775
17741776 let hasDeprecatedTag = false;
You can’t perform that action at this time.
0 commit comments