MCPcopy Index your code
hub / github.com/nodejs/node / getTypeOfPropertyInBaseClass

Function getTypeOfPropertyInBaseClass

test/fixtures/snapshot/typescript.js:67145–67149  ·  view source on GitHub ↗
(property)

Source from the content-addressed store, hash-verified

67143 }
67144 // Return the inherited type of the given property or undefined if property doesn't exist in a base class.
67145 function getTypeOfPropertyInBaseClass(property) {
67146 var classType = getDeclaringClass(property);
67147 var baseClassType = classType && getBaseTypes(classType)[0];
67148 return baseClassType && getTypeOfPropertyOfType(baseClassType, property.escapedName);
67149 }
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) {

Calls 3

getDeclaringClassFunction · 0.85
getBaseTypesFunction · 0.85
getTypeOfPropertyOfTypeFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…