MCPcopy Create free account
hub / github.com/nodejs/node / optionsHaveChanges

Function optionsHaveChanges

test/fixtures/snapshot/typescript.js:14363–14367  ·  view source on GitHub ↗
(oldOptions, newOptions, optionDeclarations)

Source from the content-addressed store, hash-verified

14361 }
14362 ts.changesAffectingProgramStructure = changesAffectingProgramStructure;
14363 function optionsHaveChanges(oldOptions, newOptions, optionDeclarations) {
14364 return oldOptions !== newOptions && optionDeclarations.some(function (o) {
14365 return !isJsonEqual(getCompilerOptionValue(oldOptions, o), getCompilerOptionValue(newOptions, o));
14366 });
14367 }
14368 ts.optionsHaveChanges = optionsHaveChanges;
14369 function forEachAncestor(node, callback) {
14370 while (true) {

Calls 3

isJsonEqualFunction · 0.85
getCompilerOptionValueFunction · 0.85
someMethod · 0.80

Tested by

no test coverage detected