mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-18 17:27:54 -05:00
Merge pull request #16466 from Microsoft/fix-build-break
Fix reference to isTypeParameterDeclaration in services
This commit is contained in:
@@ -94,7 +94,7 @@ namespace ts {
|
||||
else if (isNamespaceReference(node)) {
|
||||
return SemanticMeaning.Namespace;
|
||||
}
|
||||
else if (isTypeParameter(node.parent)) {
|
||||
else if (isTypeParameterDeclaration(node.parent)) {
|
||||
Debug.assert(isJSDocTemplateTag(node.parent.parent)); // Else would be handled by isDeclarationName
|
||||
return SemanticMeaning.Type;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user