aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoris Guyonvarch2025-08-31 14:22:41 +0200
committerJoris Guyonvarch2025-08-31 14:22:41 +0200
commit85cfbf6da3e19639de9d7812edfb33463e50d709 (patch)
treeae01689c320e19f76d3e5a3c0011edfa48e8fb61
parenta643955d1d248441e4ce9939dcfcc629e0a20dee (diff)
Export Var
-rw-r--r--src/rx.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rx.ts b/src/rx.ts
index 5edd3c1..958abcb 100644
--- a/src/rx.ts
+++ b/src/rx.ts
@@ -266,7 +266,7 @@ export function pure<A>(value: A): Rx<A> {
return new Pure(value)
}
-class Var<A> extends Rx<A> {
+export class Var<A> extends Rx<A> {
readonly type: 'Var'
readonly id: string
readonly update: (f: (value: A) => A) => void