MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / getNearestAliases

Method getNearestAliases

src/resolution/types.ts:256–256  ·  view source on GitHub ↗

* The aliases of the tsconfig / jsconfig nearest `fromFile` below the * project root that declares `paths` or `baseUrl` — a monorepo app's own * `@/*`, a nested Vite app's `"baseUrl": "src"` — or null.

(fromFile: string)

Source from the content-addressed store, hash-verified

254 * `@/*`, a nested Vite app's `"baseUrl": "src"` — or null.
255 */
256 getNearestAliases?(fromFile: string): import('./path-aliases').AliasMap | null;
257 /**
258 * The project-relative directory (`/`-separated, `.` for the root) of
259 * the Go package an import path names, when it is a package of one of the

Callers 3

resolveAliasedImportFunction · 0.80
ownConfigCandidatesFunction · 0.80
importBindingTailFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected