(type, stringsOnly)
| 61742 | return result; |
| 61743 | } |
| 61744 | function getIndexTypeForGenericType(type, stringsOnly) { |
| 61745 | return stringsOnly ? |
| 61746 | type.resolvedStringIndexType || (type.resolvedStringIndexType = createIndexType(type, /*stringsOnly*/ true)) : |
| 61747 | type.resolvedIndexType || (type.resolvedIndexType = createIndexType(type, /*stringsOnly*/ false)); |
| 61748 | } |
| 61749 | /** |
| 61750 | * This roughly mirrors `resolveMappedTypeMembers` in the nongeneric case, except only reports a union of the keys calculated, |
| 61751 | * rather than manufacturing the properties. We can't just fetch the `constraintType` since that would ignore mappings |
no test coverage detected
searching dependent graphs…