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

Function getTargetSymbol

test/fixtures/snapshot/typescript.js:84370–84374  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

84368 /* memberIsParameterProperty */ false, memberName);
84369 }
84370 function getTargetSymbol(s) {
84371 // if symbol is instantiated its flags are not copied from the 'target'
84372 // so we'll need to get back original 'target' symbol to work with correct set of flags
84373 return ts.getCheckFlags(s) & 1 /* CheckFlags.Instantiated */ ? s.target : s;
84374 }
84375 function getClassOrInterfaceDeclarationsOfSymbol(symbol) {
84376 return ts.filter(symbol.declarations, function (d) {
84377 return d.kind === 257 /* SyntaxKind.ClassDeclaration */ || d.kind === 258 /* SyntaxKind.InterfaceDeclaration */;

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…