We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 63d944c commit 4277519Copy full SHA for 4277519
src/compiler/checker.ts
@@ -341,7 +341,7 @@ namespace ts {
341
// used in analysis of do-expression
342
let requiresStatementType = false;
343
function startRequireStatementTypeContext<T>(f: (currentRequiresStatementType: boolean) => T): T {
344
- if (!compilerOptions.noImplicitReturns) return f(/* neverCheck */false);
+ if (!compilerOptions.noImplicitReturns) return f(/* neverCheck */ false);
345
const old = requiresStatementType;
346
requiresStatementType = false;
347
const val = f(old);
0 commit comments