(location, maybeMissingAwait, message, arg0, arg1, arg2, arg3)
| 49040 | addErrorOrSuggestion(isError, "message" in message ? ts.createDiagnosticForNode(location, message, arg0, arg1, arg2, arg3) : ts.createDiagnosticForNodeFromMessageChain(location, message)); // eslint-disable-line no-in-operator |
| 49041 | } |
| 49042 | function errorAndMaybeSuggestAwait(location, maybeMissingAwait, message, arg0, arg1, arg2, arg3) { |
| 49043 | var diagnostic = error(location, message, arg0, arg1, arg2, arg3); |
| 49044 | if (maybeMissingAwait) { |
| 49045 | var related = ts.createDiagnosticForNode(location, ts.Diagnostics.Did_you_forget_to_use_await); |
| 49046 | ts.addRelatedInfo(diagnostic, related); |
| 49047 | } |
| 49048 | return diagnostic; |
| 49049 | } |
| 49050 | function addDeprecatedSuggestionWorker(declarations, diagnostic) { |
| 49051 | var deprecatedTag = Array.isArray(declarations) ? ts.forEach(declarations, ts.getJSDocDeprecatedTag) : ts.getJSDocDeprecatedTag(declarations); |
| 49052 | if (deprecatedTag) { |
no test coverage detected