We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff85f27 commit 1a26dafCopy full SHA for 1a26daf
packages/svelte/src/internal/client/reactivity/async.js
@@ -150,6 +150,7 @@ export async function* for_await_track_reactivity_loss(async_iterator) {
150
} finally {
151
// If the iterator had a normal completion and `return` is defined on the iterator, call it and return the value
152
if (normal_completion && async_iterator.return !== undefined) {
153
+ // eslint-disable-next-line no-unsafe-finally
154
return /** @type {TReturn} */ (
155
(await track_reactivity_loss(async_iterator.return()))().value
156
);
0 commit comments