MCPcopy Create free account
hub / github.com/coder/guts / reference

Function reference

typescript-engine/src/index.ts:64–72  ·  view source on GitHub ↗
(
  name: string | ts.Identifier,
  typeParameters: ts.TypeNode[]
)

Source from the content-addressed store, hash-verified

62}
63
64export function reference(
65 name: string | ts.Identifier,
66 typeParameters: ts.TypeNode[]
67): ts.TypeReferenceNode {
68 return ts.factory.createTypeReferenceNode(
69 identifier(name),
70 typeParameters // Type arguments, generics
71 );
72}
73
74type keywordKeys = FilterKeys<typeof ts.SyntaxKind, ts.KeywordTypeSyntaxKind>;
75export function literalKeyword(keyword: keywordKeys): ts.KeywordTypeNode {

Callers

nothing calls this directly

Calls 1

identifierFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…