(message, spec)
| 42120 | return diag === undefined; |
| 42121 | }); |
| 42122 | function createDiagnostic(message, spec) { |
| 42123 | var element = ts.getTsConfigPropArrayElementValue(jsonSourceFile, specKey, spec); |
| 42124 | return element ? |
| 42125 | ts.createDiagnosticForNodeInSourceFile(jsonSourceFile, element, message, spec) : |
| 42126 | ts.createCompilerDiagnostic(message, spec); |
| 42127 | } |
| 42128 | } |
| 42129 | function specToDiagnostic(spec, disallowTrailingRecursion) { |
| 42130 | if (disallowTrailingRecursion && invalidTrailingRecursionPattern.test(spec)) { |
no outgoing calls
no test coverage detected