<Foo
bind:value={
// eslint-disable-next-line @typescript-eslint/no-unsafe-return -- ignore
() => bar ?? '',
(v) => {
bar = v;
}
}
/>
Formatting the above code results in the following code.
<Foo
bind:value={
// eslint-disable-next-line @typescript-eslint/no-unsafe-return -- ignore
(() => bar ?? '',
(v) => {
bar = v;
}
}
/>
I believe parentheses before () => bar ?? '' is unnecessary.