MCPcopy Create free account
hub / github.com/angular/components / unwrapEntityName

Function unwrapEntityName

tools/tslint-rules/lightweightTokensRule.ts:155–160  ·  view source on GitHub ↗
(n: ts.EntityName)

Source from the content-addressed store, hash-verified

153 return null;
154 }
155 const unwrapEntityName = (n: ts.EntityName): ts.Identifier => {
156 if (ts.isQualifiedName(n)) {
157 return unwrapEntityName(n.right);
158 }
159 return n;
160 };
161 return unwrapEntityName(type.typeName);
162}
163

Callers 1

getInjectionTypeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected