(type)
| 58690 | return optionality || (isGenericMappedType(modifiersType) ? getMappedTypeOptionality(modifiersType) : 0); |
| 58691 | } |
| 58692 | function isPartialMappedType(type) { |
| 58693 | return !!(ts.getObjectFlags(type) & 32 /* ObjectFlags.Mapped */ && getMappedTypeModifiers(type) & 4 /* MappedTypeModifiers.IncludeOptional */); |
| 58694 | } |
| 58695 | function isGenericMappedType(type) { |
| 58696 | return !!(ts.getObjectFlags(type) & 32 /* ObjectFlags.Mapped */) && isGenericIndexType(getConstraintTypeFromMappedType(type)); |
| 58697 | } |
no test coverage detected
searching dependent graphs…