File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -7617,7 +7617,7 @@ namespace ts {
7617
7617
containsString?: boolean;
7618
7618
containsNumber?: boolean;
7619
7619
containsESSymbol?: boolean;
7620
- containsStringOrNumberLiteralOrUniqueESSymbol ?: boolean;
7620
+ containsLiteralOrUniqueESSymbol ?: boolean;
7621
7621
containsObjectType?: boolean;
7622
7622
containsEmptyObject?: boolean;
7623
7623
unionIndex?: number;
@@ -7684,7 +7684,7 @@ namespace ts {
7684
7684
if (flags & TypeFlags.String) typeSet.containsString = true;
7685
7685
if (flags & TypeFlags.Number) typeSet.containsNumber = true;
7686
7686
if (flags & TypeFlags.ESSymbol) typeSet.containsESSymbol = true;
7687
- if (flags & TypeFlags.StringOrNumberLiteralOrUnique) typeSet.containsStringOrNumberLiteralOrUniqueESSymbol = true;
7687
+ if (flags & TypeFlags.StringOrNumberLiteralOrUnique) typeSet.containsLiteralOrUniqueESSymbol = true;
7688
7688
const len = typeSet.length;
7689
7689
const index = len && type.id > typeSet[len - 1].id ? ~len : binarySearchTypes(typeSet, type);
7690
7690
if (index < 0) {
@@ -7792,7 +7792,7 @@ namespace ts {
7792
7792
if (subtypeReduction) {
7793
7793
removeSubtypes(typeSet);
7794
7794
}
7795
- else if (typeSet.containsStringOrNumberLiteralOrUniqueESSymbol ) {
7795
+ else if (typeSet.containsLiteralOrUniqueESSymbol ) {
7796
7796
removeRedundantLiteralTypes(typeSet);
7797
7797
}
7798
7798
if (typeSet.length === 0) {
You can’t perform that action at this time.
0 commit comments