(type)
| 59118 | return type; |
| 59119 | } |
| 59120 | function isMappedTypeGenericIndexedAccess(type) { |
| 59121 | var objectType; |
| 59122 | return !!(type.flags & 8388608 /* TypeFlags.IndexedAccess */ && ts.getObjectFlags(objectType = type.objectType) & 32 /* ObjectFlags.Mapped */ && |
| 59123 | !isGenericMappedType(objectType) && isGenericIndexType(type.indexType) && |
| 59124 | !(getMappedTypeModifiers(objectType) & 8 /* MappedTypeModifiers.ExcludeOptional */) && !objectType.declaration.nameType); |
| 59125 | } |
| 59126 | /** |
| 59127 | * For a type parameter, return the base constraint of the type parameter. For the string, number, |
| 59128 | * boolean, and symbol primitive types, return the corresponding object types. Otherwise return the |
no test coverage detected
searching dependent graphs…