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

Function createCreateProgramOptions

test/fixtures/snapshot/typescript.js:116596–116604  ·  view source on GitHub ↗
(rootNames, options, host, oldProgram, configFileParsingDiagnostics)

Source from the content-addressed store, hash-verified

116594 return ts.optionsHaveChanges(program.getCompilerOptions(), newOptions, ts.sourceFileAffectingCompilerOptions);
116595 }
116596 function createCreateProgramOptions(rootNames, options, host, oldProgram, configFileParsingDiagnostics) {
116597 return {
116598 rootNames: rootNames,
116599 options: options,
116600 host: host,
116601 oldProgram: oldProgram,
116602 configFileParsingDiagnostics: configFileParsingDiagnostics
116603 };
116604 }
116605 function createProgram(rootNamesOrOptions, _options, _host, _oldProgram, _configFileParsingDiagnostics) {
116606 var _a, _b, _c, _d;
116607 var createProgramOptions = ts.isArray(rootNamesOrOptions) ? createCreateProgramOptions(rootNamesOrOptions, _options, _host, _oldProgram, _configFileParsingDiagnostics) : rootNamesOrOptions; // TODO: GH#18217

Callers 1

createProgramFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…