Merge pull request #16466 from Microsoft/fix-build-break

Fix reference to isTypeParameterDeclaration in services
This commit is contained in:
Nathan Shively-Sanders
2017-06-12 15:21:05 -07:00
committed by GitHub

View File

@@ -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;
}