0.1.4 #5
@@ -1,8 +1,6 @@
|
||||
import { Array, Effect, Option, ParseResult, Pipeable, Schema, Stream, Subscribable, SubscriptionRef } from "effect"
|
||||
import * as React from "react"
|
||||
import { SubscriptionSubRef } from "./index.js"
|
||||
import * as PropertyPath from "./PropertyPath.js"
|
||||
import * as InternalSubscribable from "./Subscribable.js"
|
||||
import { PropertyPath, Subscribable as SubscribableInternal, SubscriptionSubRef } from "./types/index.js"
|
||||
|
||||
|
||||
export const TypeId: unique symbol = Symbol.for("effect-fc/Form")
|
||||
@@ -45,7 +43,7 @@ extends Pipeable.Class() implements Form<A, I, R> {
|
||||
})
|
||||
|
||||
const errorSubscribable = this.errorSubscribable
|
||||
return InternalSubscribable.make({
|
||||
return SubscribableInternal.make({
|
||||
get: Effect.andThen(errorSubscribable.get, filter),
|
||||
get changes() { return Stream.flatMap(errorSubscribable.changes, filter) },
|
||||
})
|
||||
@@ -1,4 +1,5 @@
|
||||
export * as Component from "./Component.js"
|
||||
export * as Form from "./Form.js"
|
||||
export * as Memo from "./Memo.js"
|
||||
export * as ReactRuntime from "./ReactRuntime.js"
|
||||
export * as Suspense from "./Suspense.js"
|
||||
|
||||
Reference in New Issue
Block a user