Skip to content

Commit 41e511e

Browse files
author
Arthur Ozga
committed
fix call
1 parent 7b93a75 commit 41e511e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compiler/checker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2431,7 +2431,7 @@ namespace ts {
24312431
const typeAlias = getTypeAliasForTypeLiteral(type);
24322432
if (typeAlias) {
24332433
// The specified symbol flags need to be reinterpreted as type flags
2434-
const entityName = createNameFromSymbol(typeAlias, enclosingDeclaration);
2434+
const entityName = createNameFromSymbol(typeAlias);
24352435
return createTypeReferenceNode(entityName, /*typeArguments*/ undefined);
24362436
}
24372437
else {

0 commit comments

Comments
 (0)