MCPcopy
hub / github.com/TypeStrong/ts-node / resolveCompiler

Function resolveCompiler

src/configuration.ts:345–350  ·  view source on GitHub ↗
(name: string | undefined, relativeToPath: string)

Source from the content-addressed store, hash-verified

343}
344
345function resolveCompiler(name: string | undefined, relativeToPath: string) {
346 const projectLocalResolveHelper =
347 createProjectLocalResolveHelper(relativeToPath);
348 const compiler = projectLocalResolveHelper(name || 'typescript', true);
349 return { compiler };
350}
351
352/** @internal */
353export function loadCompiler(compiler: string): TSCommon {

Callers 2

findAndReadConfigFunction · 0.85
resolveAndLoadCompilerFunction · 0.85

Calls 1

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…