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

Function isLocalTypeAlias

test/fixtures/snapshot/typescript.js:60353–60357  ·  view source on GitHub ↗
(symbol)

Source from the content-addressed store, hash-verified

60351 return checkNoTypeArguments(node, symbol) ? type : errorType;
60352 }
60353 function isLocalTypeAlias(symbol) {
60354 var _a;
60355 var declaration = (_a = symbol.declarations) === null || _a === void 0 ? void 0 : _a.find(ts.isTypeAlias);
60356 return !!(declaration && ts.getContainingFunction(declaration));
60357 }
60358 function getTypeReferenceName(node) {
60359 switch (node.kind) {
60360 case 178 /* SyntaxKind.TypeReference */:

Callers 1

Calls 1

findMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…