Skip to content

Commit

Permalink
docs: fix typo in comment (#4445)
Browse files Browse the repository at this point in the history
  • Loading branch information
pushkine committed Jan 17, 2022
1 parent 4bda6ec commit 253bfa3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/scope-manager/src/scope/FunctionScope.ts
Expand Up @@ -44,7 +44,7 @@ class FunctionScope extends ScopeBase<
// console.log(a)
// }
protected isValidResolution(ref: Reference, variable: Variable): boolean {
// If `options.gloablReturn` is true, `this.block` becomes a Program node.
// If `options.globalReturn` is true, `this.block` becomes a Program node.
if (this.block.type === AST_NODE_TYPES.Program) {
return true;
}
Expand Down

0 comments on commit 253bfa3

Please sign in to comment.