File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24757,9 +24757,17 @@ namespace ts {
2475724757 return;
2475824758 }
2475924759 if (!containsArgumentsReference(decl)) {
24760- error(node.name,
24761- Diagnostics.JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name,
24762- idText(node.name.kind === SyntaxKind.QualifiedName ? node.name.right : node.name));
24760+ if (isQualifiedName(node.name)) {
24761+ error(node.name,
24762+ Diagnostics.Qualified_name_0_is_not_allowed_without_a_leading_param_object_1,
24763+ entityNameToString(node.name),
24764+ entityNameToString(node.name.left));
24765+ }
24766+ else {
24767+ error(node.name,
24768+ Diagnostics.JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name,
24769+ idText(node.name));
24770+ }
2476324771 }
2476424772 else if (findLast(getJSDocTags(decl), isJSDocParameterTag) === node &&
2476524773 node.typeExpression && node.typeExpression.type &&
You can’t perform that action at this time.
0 commit comments