diff --git a/src/Logic/UIEventSource.ts b/src/Logic/UIEventSource.ts index 91f3b69f1b..a8dd7923a7 100644 --- a/src/Logic/UIEventSource.ts +++ b/src/Logic/UIEventSource.ts @@ -352,6 +352,10 @@ export class ImmutableStore extends Store { } return new ImmutableStore(f(this.data)) } + + bind(f: (t: T) => Store): Store { + return f(this.data) + } } /**