(sourceProp, targetProp)
| 67157 | } |
| 67158 | // Return true if source property is a valid override of protected parts of target property. |
| 67159 | function isValidOverrideOf(sourceProp, targetProp) { |
| 67160 | return !forEachProperty(targetProp, function (tp) { return ts.getDeclarationModifierFlagsFromSymbol(tp) & 16 /* ModifierFlags.Protected */ ? |
| 67161 | !isPropertyInClassDerivedFrom(sourceProp, getDeclaringClass(tp)) : false; }); |
| 67162 | } |
| 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) { |
no test coverage detected