Skip to content

Commit 2627c3c

Browse files
committed
check
1 parent 632f7d2 commit 2627c3c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -796,7 +796,8 @@ export function safe_get(signal) {
796796

797797
/**
798798
* Capture an array of all the signals that are read when `fn` is called
799-
* @param {Function} fn
799+
* @template T
800+
* @param {() => T} fn
800801
*/
801802
export function capture_signals(fn) {
802803
var previous_captured_signals = captured_signals;

0 commit comments

Comments
 (0)