MCPcopy
hub / github.com/google/gts / getTSConfig

Function getTSConfig

src/util.ts:159–166  ·  view source on GitHub ↗
(
  rootDir: string,
  customReadFilep?: ReadFileP,
)

Source from the content-addressed store, hash-verified

157 * thrown
158 */
159export async function getTSConfig(
160 rootDir: string,
161 customReadFilep?: ReadFileP,
162): Promise<ConfigFile> {
163 customReadFilep = (customReadFilep || readFilep) as ReadFileP;
164 const readArr = new Set<string>();
165 return getBase('tsconfig.json', customReadFilep, readArr, rootDir);
166}

Callers 2

test-util.tsFile · 0.90
cleanFunction · 0.90

Calls 1

getBaseFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…