(checkClass, prop, writing)
| 67163 | // Return true if the given class derives from each of the declaring classes of the protected |
| 67164 | // constituents of the given property. |
| 67165 | function isClassDerivedFromDeclaringClasses(checkClass, prop, writing) { |
| 67166 | return forEachProperty(prop, function (p) { return ts.getDeclarationModifierFlagsFromSymbol(p, writing) & 16 /* ModifierFlags.Protected */ ? |
| 67167 | !hasBaseType(checkClass, getDeclaringClass(p)) : false; }) ? undefined : checkClass; |
| 67168 | } |
| 67169 | // Return true if the given type is deeply nested. We consider this to be the case when structural type comparisons |
| 67170 | // for maxDepth or more occurrences or instantiations of the type have been recorded on the given stack. It is possible, |
| 67171 | // though highly unlikely, for this test to be true in a situation where a chain of instantiations is not infinitely |
no test coverage detected
searching dependent graphs…