(context, decl, trackChanges, fixedDeclarations)
| 150339 | }, |
| 150340 | }); |
| 150341 | function getFix(context, decl, trackChanges, fixedDeclarations) { |
| 150342 | var changes = trackChanges(function (t) { return makeChange(t, context.sourceFile, decl, fixedDeclarations); }); |
| 150343 | return codefix.createCodeFixAction(fixId, changes, ts.Diagnostics.Add_async_modifier_to_containing_function, fixId, ts.Diagnostics.Add_all_missing_async_modifiers); |
| 150344 | } |
| 150345 | function makeChange(changeTracker, sourceFile, insertionSite, fixedDeclarations) { |
| 150346 | if (fixedDeclarations) { |
| 150347 | if (fixedDeclarations.has(ts.getNodeId(insertionSite))) { |
no test coverage detected