I am writing some reactive statements in Svelte, which often look like this:
$: someVariable, processStuff();
When someVariable
changes (or if its contents change, in the case of an object), the function processStuff
is called.
However, the TS engine gives me squiggles under someVariable
and claims that "Left side of comma operator is unused and has no side effects". This is incorrect.
I never want to see this particular warning. How can I turn it off? I've gone through the TSConfig reference but don't see any mention of it.