0.1.4 #5
@@ -53,6 +53,7 @@ extends Pipeable.Class() implements Form<A, I, R> {
|
|||||||
constructor(
|
constructor(
|
||||||
readonly schema: Schema.Schema<A, I, R>,
|
readonly schema: Schema.Schema<A, I, R>,
|
||||||
readonly latestValueRef: SubscriptionRef.SubscriptionRef<A>,
|
readonly latestValueRef: SubscriptionRef.SubscriptionRef<A>,
|
||||||
|
readonly latestCandidateRef: SubscriptionRef.SubscriptionRef<I>,
|
||||||
readonly errorRef: SubscriptionRef.SubscriptionRef<Option.Option<ParseResult.ParseError>>,
|
readonly errorRef: SubscriptionRef.SubscriptionRef<Option.Option<ParseResult.ParseError>>,
|
||||||
) {
|
) {
|
||||||
super()
|
super()
|
||||||
@@ -150,6 +151,6 @@ export const make: {
|
|||||||
export namespace make {
|
export namespace make {
|
||||||
export interface Options<in out A, in out I = A, out R = never> {
|
export interface Options<in out A, in out I = A, out R = never> {
|
||||||
readonly schema: Schema.Schema<A, I, R>
|
readonly schema: Schema.Schema<A, I, R>
|
||||||
readonly initialValue: NoInfer<A>
|
readonly initialEncodedValue: NoInfer<I>
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user