Skip to content

Commit c9d1864

Browse files
volivajosepot
authored andcommitted
fix(createKeyedSignal): Fix types on key selector overload
1 parent 7c84ed5 commit c9d1864

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/utils/src/createKeyedSignal.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export function createKeyedSignal<T>(): [
2222
*/
2323
export function createKeyedSignal<T, K, A extends any[]>(
2424
keySelector: (signal: T) => K,
25-
): [(key: K) => GroupedObservable<K, T>, (key: K) => void]
25+
): [(key: K) => GroupedObservable<K, T>, (signal: T) => void]
2626

2727
/**
2828
* Creates a "keyed" signal. It's sugar for splitting the Observer and the Observable of a keyed signal.

0 commit comments

Comments
 (0)