(type)
| 57258 | return type.resolvedBaseTypes = [reducedBaseType]; |
| 57259 | } |
| 57260 | function areAllOuterTypeParametersApplied(type) { |
| 57261 | // An unapplied type parameter has its symbol still the same as the matching argument symbol. |
| 57262 | // Since parameters are applied outer-to-inner, only the last outer parameter needs to be checked. |
| 57263 | var outerTypeParameters = type.outerTypeParameters; |
| 57264 | if (outerTypeParameters) { |
| 57265 | var last_1 = outerTypeParameters.length - 1; |
| 57266 | var typeArguments = getTypeArguments(type); |
| 57267 | return outerTypeParameters[last_1].symbol !== typeArguments[last_1].symbol; |
| 57268 | } |
| 57269 | return true; |
| 57270 | } |
| 57271 | // A valid base type is `any`, an object type or intersection of object types. |
| 57272 | function isValidBaseType(type) { |
| 57273 | if (type.flags & 262144 /* TypeFlags.TypeParameter */) { |
no test coverage detected