File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7617,7 +7617,7 @@ namespace ts {
76177617 containsString?: boolean;
76187618 containsNumber?: boolean;
76197619 containsESSymbol?: boolean;
7620- containsStringOrNumberLiteralOrUniqueESSymbol ?: boolean;
7620+ containsLiteralOrUniqueESSymbol ?: boolean;
76217621 containsObjectType?: boolean;
76227622 containsEmptyObject?: boolean;
76237623 unionIndex?: number;
@@ -7684,7 +7684,7 @@ namespace ts {
76847684 if (flags & TypeFlags.String) typeSet.containsString = true;
76857685 if (flags & TypeFlags.Number) typeSet.containsNumber = true;
76867686 if (flags & TypeFlags.ESSymbol) typeSet.containsESSymbol = true;
7687- if (flags & TypeFlags.StringOrNumberLiteralOrUnique) typeSet.containsStringOrNumberLiteralOrUniqueESSymbol = true;
7687+ if (flags & TypeFlags.StringOrNumberLiteralOrUnique) typeSet.containsLiteralOrUniqueESSymbol = true;
76887688 const len = typeSet.length;
76897689 const index = len && type.id > typeSet[len - 1].id ? ~len : binarySearchTypes(typeSet, type);
76907690 if (index < 0) {
@@ -7792,7 +7792,7 @@ namespace ts {
77927792 if (subtypeReduction) {
77937793 removeSubtypes(typeSet);
77947794 }
7795- else if (typeSet.containsStringOrNumberLiteralOrUniqueESSymbol ) {
7795+ else if (typeSet.containsLiteralOrUniqueESSymbol ) {
77967796 removeRedundantLiteralTypes(typeSet);
77977797 }
77987798 if (typeSet.length === 0) {
You can’t perform that action at this time.
0 commit comments