Form work
Some checks failed
Lint / lint (push) Failing after 11s

This commit is contained in:
Julien Valverdé
2025-08-28 05:52:39 +02:00
parent 450d11cc3e
commit 8b5074bd56

View File

@@ -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>
} }
} }