This commit is contained in:
Arthur Ozga 2017-03-16 16:51:18 -07:00
parent 7b93a75e41
commit 41e511efd2

View file

@ -2431,7 +2431,7 @@ namespace ts {
const typeAlias = getTypeAliasForTypeLiteral(type);
if (typeAlias) {
// The specified symbol flags need to be reinterpreted as type flags
const entityName = createNameFromSymbol(typeAlias, enclosingDeclaration);
const entityName = createNameFromSymbol(typeAlias);
return createTypeReferenceNode(entityName, /*typeArguments*/ undefined);
}
else {