MCPcopy Create free account
hub / github.com/angular/angular / createReference

Function createReference

packages/compiler/test/typecheck/util.ts:398–407  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

396}
397
398function createReference(name: string): TcbReferenceMetadata {
399 return {
400 name,
401 moduleName: SYNTHETIC_MODULE,
402 isLocal: false,
403 unexportedDiagnostic: null,
404 key: `${SYNTHETIC_FILE}#${name}` as TcbReferenceKey,
405 nodeFilePath: SYNTHETIC_FILE,
406 };
407}
408
409function toTcbTypeParameters(representations: string[]): TcbTypeParameter[] {
410 return representations.map((representation) => ({

Callers 3

tcbFunction · 0.85
prepareDeclarationsFunction · 0.85
toDirectiveMetadataFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected