repos / starfx

supercharged async flow control library.
git clone https://github.com/neurosnap/starfx.git

commit
4ca821e
parent
adf90a0
author
Eric Bower
date
2023-12-14 16:34:40 +0000 UTC
fix: wrong type for slice.any
1 files changed,  +1, -1
M store/slice/any.ts
+1, -1
1@@ -5,7 +5,7 @@ import type { BaseSchema } from "../types.ts";
2 export interface AnyOutput<V, S extends AnyState> extends BaseSchema<V> {
3   schema: "any";
4   initialState: V;
5-  set: (v: string) => (s: S) => void;
6+  set: (v: V) => (s: S) => void;
7   reset: () => (s: S) => void;
8   select: (s: S) => V;
9 }