We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b93d62e commit afa5273Copy full SHA for afa5273
src/compiler/checker.ts
@@ -3840,7 +3840,7 @@ export function createTypeChecker(host: TypeCheckerHost): TypeChecker {
3840
*/
3841
function isSameScopeDescendentOf(initial: Node, parent: Node | undefined, stopAt: Node): boolean {
3842
return !!parent && !!findAncestor(initial, n => n === parent
3843
- || (n === stopAt || isFunctionLike(n) && (!getImmediatelyInvokedFunctionExpression(n) || (getFunctionFlags(n) & (FunctionFlags.AsyncGenerator))) ? "quit" : false));
+ || (n === stopAt || isFunctionLike(n) && (!getImmediatelyInvokedFunctionExpression(n) || (getFunctionFlags(n) & FunctionFlags.AsyncGenerator)) ? "quit" : false));
3844
}
3845
3846
function getAnyImportSyntax(node: Node): AnyImportSyntax | undefined {
0 commit comments