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

Function createOptionValueDiagnostic

test/fixtures/snapshot/typescript.js:119156–119158  ·  view source on GitHub ↗
(option1, message, arg0, arg1)

Source from the content-addressed store, hash-verified

119154 createDiagnosticForOption(/*onKey*/ true, option1, option2, message, option1, option2, option3);
119155 }
119156 function createOptionValueDiagnostic(option1, message, arg0, arg1) {
119157 createDiagnosticForOption(/*onKey*/ false, option1, /*option2*/ undefined, message, arg0, arg1);
119158 }
119159 function createDiagnosticForReference(sourceFile, index, message, arg0, arg1) {
119160 var referencesSyntax = ts.firstDefined(ts.getTsConfigPropArray(sourceFile || options.configFile, "references"), function (property) { return ts.isArrayLiteralExpression(property.initializer) ? property.initializer : undefined; });
119161 if (referencesSyntax && referencesSyntax.elements.length > index) {

Callers 1

verifyCompilerOptionsFunction · 0.85

Calls 1

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…