Skip to content

Commit 520460b

Browse files
committed
tweak
1 parent 55b9fbc commit 520460b

File tree

1 file changed

+5
-1
lines changed
  • packages/svelte/src/internal/client

1 file changed

+5
-1
lines changed

packages/svelte/src/internal/client/proxy.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,11 @@ export function create_proxy(value, onchanges) {
166166
}
167167

168168
if (prop === PROXY_ONCHANGE_SYMBOL) {
169-
return (/** @type {(Array<() => void>)} */ callbacks, /** @type {boolean} */ remove) => {
169+
/**
170+
* @param {(Array<() => void>)} callbacks
171+
* @param {boolean} remove
172+
*/
173+
return (callbacks, remove) => {
170174
if (callbacks === onchanges) return;
171175

172176
if (remove) {

0 commit comments

Comments
 (0)