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

Function tryGetPrivateIdentifierPropertyOfType

test/fixtures/snapshot/typescript.js:72649–72652  ·  view source on GitHub ↗
(type, id)

Source from the content-addressed store, hash-verified

72647 }
72648 return undefined;
72649 function tryGetPrivateIdentifierPropertyOfType(type, id) {
72650 var lexicallyScopedSymbol = lookupSymbolForPrivateIdentifierDeclaration(id.escapedText, id);
72651 return lexicallyScopedSymbol && getPrivateIdentifierPropertyOfType(type, lexicallyScopedSymbol);
72652 }
72653 }
72654 // In an assignment expression, the right operand is contextually typed by the type of the left operand.
72655 // Don't do this for assignment declarations unless there is a type tag on the assignment, to avoid circularity from checking the right operand.

Callers 1

getSymbolForExpressionFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…