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

Function createDiagnosticForOption

test/fixtures/snapshot/typescript.js:119168–119175  ·  view source on GitHub ↗
(onKey, option1, option2, message, arg0, arg1, arg2)

Source from the content-addressed store, hash-verified

119166 }
119167 }
119168 function createDiagnosticForOption(onKey, option1, option2, message, arg0, arg1, arg2) {
119169 var compilerOptionsObjectLiteralSyntax = getCompilerOptionsObjectLiteralSyntax();
119170 var needCompilerDiagnostic = !compilerOptionsObjectLiteralSyntax ||
119171 !createOptionDiagnosticInObjectLiteralSyntax(compilerOptionsObjectLiteralSyntax, onKey, option1, option2, message, arg0, arg1, arg2);
119172 if (needCompilerDiagnostic) {
119173 programDiagnostics.add(ts.createCompilerDiagnostic(message, arg0, arg1, arg2));
119174 }
119175 }
119176 function getCompilerOptionsObjectLiteralSyntax() {
119177 if (_compilerOptionsObjectLiteralSyntax === undefined) {
119178 _compilerOptionsObjectLiteralSyntax = false;

Callers 2

Tested by

no test coverage detected