(context, expression, errorCode, checker, trackChanges, fixedDeclarations)
| 150465 | } |
| 150466 | } |
| 150467 | function getUseSiteFix(context, expression, errorCode, checker, trackChanges, fixedDeclarations) { |
| 150468 | var changes = trackChanges(function (t) { return makeChange(t, errorCode, context.sourceFile, checker, expression, fixedDeclarations); }); |
| 150469 | return codefix.createCodeFixAction(fixId, changes, ts.Diagnostics.Add_await, fixId, ts.Diagnostics.Fix_all_expressions_possibly_missing_await); |
| 150470 | } |
| 150471 | function isMissingAwaitError(sourceFile, errorCode, span, cancellationToken, program) { |
| 150472 | var checker = program.getTypeChecker(); |
| 150473 | var diagnostics = checker.getDiagnostics(sourceFile, cancellationToken); |
no test coverage detected