mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-16 15:45:27 -05:00
fix call
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user