Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

consistent-function-scoping while returning a function #1536

Open
smhmd opened this issue Oct 1, 2021 · 0 comments
Open

consistent-function-scoping while returning a function #1536

smhmd opened this issue Oct 1, 2021 · 0 comments

Comments

@smhmd
Copy link

smhmd commented Oct 1, 2021

image

() => () => {} triggers the consistent function scoping rule.

const mockFn = () => () => {} // should be ok
@smhmd smhmd added the bug label Oct 1, 2021
@fregante fregante changed the title Consistent function scoping while returning a function consistent-function-scoping while returning a function Oct 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants