Use getSymbolOfNode instead of getMergedSymbol

This commit is contained in:
Nathan Shively-Sanders
2016-05-20 12:53:44 -07:00
parent 3bdfd8f477
commit 7562ef033e

View File

@@ -5464,7 +5464,7 @@ namespace ts {
const declaration = <DeclarationWithTypeParameters>node;
if (declaration.typeParameters) {
for (const d of declaration.typeParameters) {
if (contains(mappedTypes, getDeclaredTypeOfTypeParameter(getMergedSymbol(d.symbol)))) {
if (contains(mappedTypes, getDeclaredTypeOfTypeParameter(getSymbolOfNode(d)))) {
return true;
}
}