(symbol)
| 68241 | return reversed; |
| 68242 | } |
| 68243 | function getTypeOfReverseMappedSymbol(symbol) { |
| 68244 | var links = getSymbolLinks(symbol); |
| 68245 | if (!links.type) { |
| 68246 | links.type = inferReverseMappedType(symbol.propertyType, symbol.mappedType, symbol.constraintType); |
| 68247 | } |
| 68248 | return links.type; |
| 68249 | } |
| 68250 | function inferReverseMappedType(sourceType, target, constraint) { |
| 68251 | var typeParameter = getIndexedAccessType(constraint.type, getTypeParameterFromMappedType(target)); |
| 68252 | var templateType = getTemplateTypeFromMappedType(target); |
no test coverage detected