We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1d15030 + b02638b commit 6966c5bCopy full SHA for 6966c5b
src/runtime/store/index.ts
@@ -128,7 +128,7 @@ type StoresValues<T> = T extends Readable<infer U> ? U :
128
*/
129
export function derived<T, S extends Stores>(
130
stores: S,
131
- fn: (values: StoresValues<S>, set?: Subscriber<T>) => T | Unsubscriber | void,
+ fn: (values: StoresValues<S>, set: Subscriber<T>) => T | Unsubscriber | void,
132
initial_value?: T,
133
): Readable<T> {
134
0 commit comments