Skip to content

Commit

Permalink
docs: fix typo in comment (typescript-eslint#4445)
Browse files Browse the repository at this point in the history
  • Loading branch information
pushkine authored and lonyele committed Feb 12, 2022
1 parent 3699bfa commit 9136f90
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 9136f90

Please sign in to comment.