MCPcopy
hub / github.com/jonaskello/tsconfig-paths / MatchPath

Interface MatchPath

src/match-path-sync.ts:9–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7 * Function that can match a path
8 */
9export interface MatchPath {
10 (
11 requestedModule: string,
12 readJson?: Filesystem.ReadJsonSync,
13 fileExists?: (name: string) => boolean,
14 extensions?: ReadonlyArray<string>
15 ): string | undefined;
16}
17
18/**
19 * Creates a function that can resolve paths according to tsconfig paths property.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…