Docs: improve typing

This commit is contained in:
Pieter Vander Vennet 2024-12-11 21:47:28 +01:00
parent ac9681e6c4
commit d19719afc3

View file

@ -275,7 +275,7 @@ export abstract class Store<T> implements Readable<T> {
public bindD<X>(
f: (t: Exclude<T, undefined | null>) => Store<X>,
extraSources: UIEventSource<object>[] = []
extraSources: Store<any>[] = []
): Store<X> {
return this.bind((t) => {
if (t === null) {