(prop, baseClass)
| 67150 | // Return true if some underlying source property is declared in a class that derives |
| 67151 | // from the given base class. |
| 67152 | function isPropertyInClassDerivedFrom(prop, baseClass) { |
| 67153 | return forEachProperty(prop, function (sp) { |
| 67154 | var sourceClass = getDeclaringClass(sp); |
| 67155 | return sourceClass ? hasBaseType(sourceClass, baseClass) : false; |
| 67156 | }); |
| 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 */ ? |
no test coverage detected
searching dependent graphs…