Skip to content

Commit ad973af

Browse files
committed
Use available bit flag
1 parent e0bffe8 commit ad973af

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/compiler/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6563,7 +6563,7 @@ export const enum ObjectFlags {
65636563
IdenticalBaseTypeCalculated = 1 << 25, // has had `getSingleBaseForNonAugmentingSubtype` invoked on it already
65646564
/** @internal */
65656565
IdenticalBaseTypeExists = 1 << 26, // has a defined cachedEquivalentBaseType member
6566-
InstantiatedReference = 1 << 27, // Originates in instantiation of type reference
6566+
InstantiatedReference = 1 << 28, // Originates in instantiation of type reference
65676567

65686568
// Flags that require TypeFlags.UnionOrIntersection or TypeFlags.Substitution
65696569
/** @internal */

tests/baselines/reference/api/typescript.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6719,7 +6719,7 @@ declare namespace ts {
67196719
ContainsSpread = 2097152,
67206720
ObjectRestType = 4194304,
67216721
InstantiationExpressionType = 8388608,
6722-
InstantiatedReference = 134217728,
6722+
InstantiatedReference = 268435456,
67236723
}
67246724
interface ObjectType extends Type {
67256725
objectFlags: ObjectFlags;

0 commit comments

Comments
 (0)