diff --git a/packages/effect-fc/src/Form.ts b/packages/effect-fc/src/Form.ts index 5c37310..564d8f4 100644 --- a/packages/effect-fc/src/Form.ts +++ b/packages/effect-fc/src/Form.ts @@ -186,9 +186,9 @@ export declare namespace make { export const make = Effect.fnUntraced(function* ( options: make.Options ): Effect.fn.Return< - RootForm, MP>, + RootForm, MP>, never, - Scope.Scope | R | Result.forkEffect.OutputContext + Scope.Scope | R | Result.forkEffect.OutputContext > { const mutation = yield* Mutation.make(options) const valueLens = Lens.fromSubscriptionRef(yield* SubscriptionRef.make(Option.none())) @@ -230,9 +230,9 @@ export declare namespace service { export const service = ( options: service.Options ): Effect.Effect< - RootForm, MP>, + RootForm, MP>, never, - Scope.Scope | R | Result.forkEffect.OutputContext + Scope.Scope | R | Result.forkEffect.OutputContext > => Effect.tap( make(options), form => Effect.forkScoped(form.run), diff --git a/packages/effect-fc/src/Mutation.ts b/packages/effect-fc/src/Mutation.ts index be4b71e..2f3a730 100644 --- a/packages/effect-fc/src/Mutation.ts +++ b/packages/effect-fc/src/Mutation.ts @@ -111,12 +111,12 @@ export declare namespace make { export const make = Effect.fnUntraced(function* ( options: make.Options ): Effect.fn.Return< - Mutation, P>, + Mutation, P>, never, - Scope.Scope | Result.forkEffect.OutputContext + Scope.Scope | Result.forkEffect.OutputContext > { return new MutationImpl( - yield* Effect.context>(), + yield* Effect.context>(), options.f as any, options.initialProgress as P,