You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
... as with Typescript, where naming a destructured variable with leading _ allows there to be readability in the semantic variable name, with the _ clue that it's not used.
It would be extra nice if that _varName was actually not part of the resulting scope, so it CANT be used.
The text was updated successfully, but these errors were encountered:
rjharmon
changed the title
wish: unused destructured variable can be meaningfully _varName named, with leading _ to suppress "unused" error
lang wish: unused destructured variable can be meaningfully _varName named, with leading _ to suppress "unused" error
Oct 2, 2023
... as with Typescript, where naming a destructured variable with leading _ allows there to be readability in the semantic variable name, with the _ clue that it's not used.
It would be extra nice if that _varName was actually not part of the resulting scope, so it CANT be used.
The text was updated successfully, but these errors were encountered: