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
The savingStatus store is only used in this one line that starts with $:, and the parser incorrectly marks it as an unused import. Removing the reactive statement and converting it into a function fixes it, but it's not very elegant. I'd love it if the parser could ignore the reactive $: statement when determining unused imports!
The text was updated successfully, but these errors were encountered:
KentoNishi
changed the title
False positive when using stores only in reactive statements
False positive unused import when using stores only in reactive statements
Oct 4, 2021
The
savingStatus
store is only used in this one line that starts with$:
, and the parser incorrectly marks it as an unused import. Removing the reactive statement and converting it into a function fixes it, but it's not very elegant. I'd love it if the parser could ignore the reactive$:
statement when determining unused imports!The text was updated successfully, but these errors were encountered: