This repository has been archived by the owner on Aug 31, 2023. It is now read-only.
🐛 lint rule noUnusedVariables is reported when variable is being referenced inside an inner function like setInterval #4245
Labels
Environment information
What happened?
If you create a variable and use it inside a callback within the "initializer". The linter reports the variable as unused.
E.g.
Here is a playground snippet
Expected result
In this case, the variable should not be considered as unused.
Code of Conduct
The text was updated successfully, but these errors were encountered: