MCPcopy Index your code
hub / github.com/angular/angular / getDefinitionAtPosition

Function getDefinitionAtPosition

packages/language-service/src/ts_plugin.ts:94–99  ·  view source on GitHub ↗
(
    fileName: string,
    position: number,
  )

Source from the content-addressed store, hash-verified

92 }
93
94 function getDefinitionAtPosition(
95 fileName: string,
96 position: number,
97 ): readonly ts.DefinitionInfo[] | undefined {
98 return getDefinitionAndBoundSpan(fileName, position)?.definitions;
99 }
100
101 function getReferencesAtPosition(
102 fileName: string,

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…