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 632f7d2 commit 2627c3cCopy full SHA for 2627c3c
packages/svelte/src/internal/client/runtime.js
@@ -796,7 +796,8 @@ export function safe_get(signal) {
796
797
/**
798
* Capture an array of all the signals that are read when `fn` is called
799
- * @param {Function} fn
+ * @template T
800
+ * @param {() => T} fn
801
*/
802
export function capture_signals(fn) {
803
var previous_captured_signals = captured_signals;
0 commit comments