* Indicates whether the declaration of a typeParameter has a default type.
(typeParameter)
| 59102 | * Indicates whether the declaration of a typeParameter has a default type. |
| 59103 | */ |
| 59104 | function hasTypeParameterDefault(typeParameter) { |
| 59105 | return !!(typeParameter.symbol && ts.forEach(typeParameter.symbol.declarations, function (decl) { return ts.isTypeParameterDeclaration(decl) && decl.default; })); |
| 59106 | } |
| 59107 | function getApparentTypeOfMappedType(type) { |
| 59108 | return type.resolvedApparentType || (type.resolvedApparentType = getResolvedApparentTypeOfMappedType(type)); |
| 59109 | } |
no test coverage detected
searching dependent graphs…