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 55b9fbc commit 520460bCopy full SHA for 520460b
packages/svelte/src/internal/client/proxy.js
@@ -166,7 +166,11 @@ export function create_proxy(value, onchanges) {
166
}
167
168
if (prop === PROXY_ONCHANGE_SYMBOL) {
169
- return (/** @type {(Array<() => void>)} */ callbacks, /** @type {boolean} */ remove) => {
+ /**
170
+ * @param {(Array<() => void>)} callbacks
171
+ * @param {boolean} remove
172
+ */
173
+ return (callbacks, remove) => {
174
if (callbacks === onchanges) return;
175
176
if (remove) {
0 commit comments