Skip to content

Commit f632137

Browse files
committed
Drop commented code
1 parent 4b58107 commit f632137

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/compiler/checker.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11419,11 +11419,6 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker {
1141911419
reportErrorsFromWidening(declaration, type);
1142011420
}
1142111421

11422-
// always widen a 'unique symbol' type if the type was created for a different declaration.
11423-
// if (type.flags & TypeFlags.UniqueESSymbol && (isBindingElement(declaration) || !declaration.type) && type.symbol !== getSymbolOfDeclaration(declaration)) {
11424-
// type = esSymbolType;
11425-
// }
11426-
1142711422
return getWidenedType(type);
1142811423
}
1142911424

0 commit comments

Comments
 (0)