(sourceFile, index, 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) { |
| 119162 | programDiagnostics.add(ts.createDiagnosticForNodeInSourceFile(sourceFile || options.configFile, referencesSyntax.elements[index], message, arg0, arg1)); |
| 119163 | } |
| 119164 | else { |
| 119165 | programDiagnostics.add(ts.createCompilerDiagnostic(message, arg0, arg1)); |
| 119166 | } |
| 119167 | } |
| 119168 | function createDiagnosticForOption(onKey, option1, option2, message, arg0, arg1, arg2) { |
| 119169 | var compilerOptionsObjectLiteralSyntax = getCompilerOptionsObjectLiteralSyntax(); |
| 119170 | var needCompilerDiagnostic = !compilerOptionsObjectLiteralSyntax || |
no test coverage detected
searching dependent graphs…