mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-09 20:51:43 -06:00
fix call
This commit is contained in:
parent
7b93a75e41
commit
41e511efd2
@ -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 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user