File tree 1 file changed +7
-7
lines changed
1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -1240,6 +1240,13 @@ export class TypeTable {
1240
1240
let indexOnStack = stack . length ;
1241
1241
stack . push ( id ) ;
1242
1242
1243
+ /** Indicates if a type contains no type variables, is a type variable, or strictly contains type variables. */
1244
+ const enum TypeVarDepth {
1245
+ noTypeVar = 0 ,
1246
+ isTypeVar = 1 ,
1247
+ containsTypeVar = 2 ,
1248
+ }
1249
+
1243
1250
for ( let symbol of type . getProperties ( ) ) {
1244
1251
let propertyType = typeTable . tryGetTypeOfSymbol ( symbol ) ;
1245
1252
if ( propertyType == null ) continue ;
@@ -1267,13 +1274,6 @@ export class TypeTable {
1267
1274
1268
1275
return lowlinkTable . get ( id ) ;
1269
1276
1270
- /** Indicates if a type contains no type variables, is a type variable, or strictly contains type variables. */
1271
- const enum TypeVarDepth {
1272
- noTypeVar = 0 ,
1273
- isTypeVar = 1 ,
1274
- containsTypeVar = 2 ,
1275
- }
1276
-
1277
1277
function traverseType ( type : ts . Type ) : TypeVarDepth {
1278
1278
if ( isTypeVariable ( type ) ) return TypeVarDepth . isTypeVar ;
1279
1279
let depth = TypeVarDepth . noTypeVar ;
You can’t perform that action at this time.
0 commit comments