Skip to content

Commit

Permalink
Update packages/eslint-plugin/src/rules/no-use-before-define.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaKGoldberg committed Jul 29, 2022
1 parent 4045bc9 commit ead858d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/eslint-plugin/src/rules/no-use-before-define.ts
Expand Up @@ -100,7 +100,7 @@ function isNamedExports(reference: TSESLint.Scope.Reference): boolean {
const { identifier } = reference;
return (
identifier.parent?.type === AST_NODE_TYPES.ExportSpecifier &&
identifier.parent?.local === identifier
identifier.parent.local === identifier
);
}

Expand Down

0 comments on commit ead858d

Please sign in to comment.