(context)
| 150169 | }; |
| 150170 | } |
| 150171 | function getFixes(context) { |
| 150172 | var diagnostics = getDiagnostics(context); |
| 150173 | var registrations = errorCodeToFixes.get(String(context.errorCode)); |
| 150174 | return ts.flatMap(registrations, function (f) { return ts.map(f.getCodeActions(context), removeFixIdIfFixAllUnavailable(f, diagnostics)); }); |
| 150175 | } |
| 150176 | codefix.getFixes = getFixes; |
| 150177 | function getAllFixes(context) { |
| 150178 | // Currently fixId is always a string. |
nothing calls this directly
no test coverage detected