MCPcopy Index your code
hub / github.com/nodejs/node / getTypeChecker

Function getTypeChecker

test/fixtures/snapshot/typescript.js:117504–117506  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

117502 }
117503 }
117504 function getTypeChecker() {
117505 return typeChecker || (typeChecker = ts.createTypeChecker(program));
117506 }
117507 function emit(sourceFile, writeFileCallback, cancellationToken, emitOnlyDtsFiles, transformers, forceDtsEmit) {
117508 ts.tracing === null || ts.tracing === void 0 ? void 0 : ts.tracing.push("emit" /* tracing.Phase.Emit */, "emit", { path: sourceFile === null || sourceFile === void 0 ? void 0 : sourceFile.path }, /*separateBeginAndEnd*/ true);
117509 var result = runWithCancellationToken(function () { return emitWorker(program, sourceFile, writeFileCallback, cancellationToken, emitOnlyDtsFiles, transformers, forceDtsEmit); });

Callers 7

createProgramFunction · 0.85
getClassifiableNamesFunction · 0.85
emitWorkerFunction · 0.85
getSuggestionDiagnosticsFunction · 0.85
getGlobalDiagnosticsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected