Make sure to instantiate merged type parameters

This commit is contained in:
Nathan Shively-Sanders committed 2016-05-20 10:59:05 -07:00
1 parent f95f51fefc
commit 3bdfd8f477
5 files changed
+72 -1

No files matched your search

+1 -1
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(d.symbol))) {
if (contains(mappedTypes, getDeclaredTypeOfTypeParameter(getMergedSymbol(d.symbol)))) {
return true;
}
}