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

Function getRegularTypeOfExpression

test/fixtures/snapshot/typescript.js:86663–86668  ·  view source on GitHub ↗
(expr)

Source from the content-addressed store, hash-verified

86661 return typeOfObjectLiteral && getPropertyOfType(typeOfObjectLiteral, location.escapedText);
86662 }
86663 function getRegularTypeOfExpression(expr) {
86664 if (ts.isRightSideOfQualifiedNameOrPropertyAccess(expr)) {
86665 expr = expr.parent;
86666 }
86667 return getRegularTypeOfLiteralType(getTypeOfExpression(expr));
86668 }
86669 /**
86670 * Gets either the static or instance type of a class element, based on
86671 * whether the element is declared as "static".

Callers 2

getTypeOfNodeFunction · 0.85
createTypeOfExpressionFunction · 0.85

Calls 2

getTypeOfExpressionFunction · 0.85

Tested by

no test coverage detected