(context, errorCodes, cb)
| 150194 | } |
| 150195 | codefix.codeFixAll = codeFixAll; |
| 150196 | function eachDiagnostic(context, errorCodes, cb) { |
| 150197 | for (var _i = 0, _a = getDiagnostics(context); _i < _a.length; _i++) { |
| 150198 | var diag = _a[_i]; |
| 150199 | if (ts.contains(errorCodes, diag.code)) { |
| 150200 | cb(diag); |
| 150201 | } |
| 150202 | } |
| 150203 | } |
| 150204 | codefix.eachDiagnostic = eachDiagnostic; |
| 150205 | function getDiagnostics(_a) { |
| 150206 | var program = _a.program, sourceFile = _a.sourceFile, cancellationToken = _a.cancellationToken; |
no test coverage detected