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

Function getCompilerOptionsDiagnostics

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

Source from the content-addressed store, hash-verified

165263 return ts.computeSuggestionDiagnostics(getValidSourceFile(fileName), program, cancellationToken);
165264 }
165265 function getCompilerOptionsDiagnostics() {
165266 synchronizeHostData();
165267 return __spreadArray(__spreadArray([], program.getOptionsDiagnostics(cancellationToken), true), program.getGlobalDiagnostics(cancellationToken), true);
165268 }
165269 function getCompletionsAtPosition(fileName, position, options, formattingSettings) {
165270 if (options === void 0) { options = ts.emptyOptions; }
165271 // Convert from deprecated options names to new names

Callers

nothing calls this directly

Calls 1

synchronizeHostDataFunction · 0.85

Tested by

no test coverage detected