(tp)
| 67047 | return markerTypes.has(getTypeId(type)); |
| 67048 | } |
| 67049 | function getVarianceModifiers(tp) { |
| 67050 | var _a, _b; |
| 67051 | return (ts.some((_a = tp.symbol) === null || _a === void 0 ? void 0 : _a.declarations, function (d) { return ts.hasSyntacticModifier(d, 32768 /* ModifierFlags.In */); }) ? 32768 /* ModifierFlags.In */ : 0) | |
| 67052 | (ts.some((_b = tp.symbol) === null || _b === void 0 ? void 0 : _b.declarations, function (d) { return ts.hasSyntacticModifier(d, 65536 /* ModifierFlags.Out */); }) ? 65536 /* ModifierFlags.Out */ : 0); |
| 67053 | } |
| 67054 | // Return true if the given type reference has a 'void' type argument for a covariant type parameter. |
| 67055 | // See comment at call in recursiveTypeRelatedTo for when this case matters. |
| 67056 | function hasCovariantVoidArgument(typeArguments, variances) { |
no test coverage detected
searching dependent graphs…