We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 55bffe3 commit bafdf4bCopy full SHA for bafdf4b
1 file changed
src/compiler/checker.ts
@@ -23097,7 +23097,6 @@ namespace ts {
23097
Debug.assert((getFunctionFlags(func) & FunctionFlags.Async) === 0, "Enclosing function should never be an async function.");
23098
const relatedInfo = createDiagnosticForNode(func, Diagnostics.Did_you_mean_to_mark_this_function_as_async);
23099
addRelatedInfo(diagnostic, relatedInfo);
23100
-
23101
}
23102
diagnostics.add(diagnostic);
23103
0 commit comments