@@ -1,6 +1,6 @@
|
|||||||
/** biome-ignore-all lint/complexity/noBannedTypes: {} is the default type for React props */
|
/** biome-ignore-all lint/complexity/noBannedTypes: {} is the default type for React props */
|
||||||
/** biome-ignore-all lint/complexity/useArrowFunction: necessary for class prototypes */
|
/** biome-ignore-all lint/complexity/useArrowFunction: necessary for class prototypes */
|
||||||
import { Context, type Duration, Effect, Equivalence, ExecutionStrategy, Exit, Fiber, Function, HashMap, identity, Layer, Option, Pipeable, Predicate, Ref, Runtime, Scope, Tracer, type Utils } from "effect"
|
import { Context, type Duration, Effect, Equivalence, ExecutionStrategy, Exit, Fiber, Function, HashMap, identity, Layer, Option, Pipeable, Predicate, Ref, Runtime, Scope, Tracer } from "effect"
|
||||||
import * as React from "react"
|
import * as React from "react"
|
||||||
|
|
||||||
|
|
||||||
@@ -155,70 +155,70 @@ export const isComponent = (u: unknown): u is Component.Default<{}, React.ReactN
|
|||||||
|
|
||||||
export declare namespace make {
|
export declare namespace make {
|
||||||
export type Gen = {
|
export type Gen = {
|
||||||
<Eff extends Utils.YieldWrap<Effect.Effect<any, any, any>>, A extends React.ReactNode, P extends {} = {}>(
|
<Eff extends Effect.Effect<any, any, any>, A extends React.ReactNode, P extends {} = {}>(
|
||||||
body: (props: P) => Generator<Eff, A, never>
|
body: (props: P) => Generator<Eff, A, never>
|
||||||
): Component.Default<
|
): Component.Default<
|
||||||
P, A,
|
P, A,
|
||||||
[Eff] extends [never] ? never : [Eff] extends [Utils.YieldWrap<Effect.Effect<infer _A, infer E, infer _R>>] ? E : never,
|
[Eff] extends [never] ? never : [Eff] extends [Effect.Effect<infer _A, infer E, infer _R>] ? E : never,
|
||||||
[Eff] extends [never] ? never : [Eff] extends [Utils.YieldWrap<Effect.Effect<infer _A, infer _E, infer R>>] ? R : never
|
[Eff] extends [never] ? never : [Eff] extends [Effect.Effect<infer _A, infer _E, infer R>] ? R : never
|
||||||
>
|
>
|
||||||
<Eff extends Utils.YieldWrap<Effect.Effect<any, any, any>>, A, B extends Effect.Effect<React.ReactNode, any, any>, P extends {} = {}>(
|
<Eff extends Effect.Effect<any, any, any>, A, B extends Effect.Effect<React.ReactNode, any, any>, P extends {} = {}>(
|
||||||
body: (props: P) => Generator<Eff, A, never>,
|
body: (props: P) => Generator<Eff, A, never>,
|
||||||
a: (
|
a: (
|
||||||
_: Effect.Effect<
|
_: Effect.Effect<
|
||||||
A,
|
A,
|
||||||
[Eff] extends [never] ? never : [Eff] extends [Utils.YieldWrap<Effect.Effect<infer _A, infer E, infer _R>>] ? E : never,
|
[Eff] extends [never] ? never : [Eff] extends [Effect.Effect<infer _A, infer E, infer _R>] ? E : never,
|
||||||
[Eff] extends [never] ? never : [Eff] extends [Utils.YieldWrap<Effect.Effect<infer _A, infer _E, infer R>>] ? R : never
|
[Eff] extends [never] ? never : [Eff] extends [Effect.Effect<infer _A, infer _E, infer R>] ? R : never
|
||||||
>,
|
>,
|
||||||
props: NoInfer<P>,
|
props: NoInfer<P>,
|
||||||
) => B,
|
) => B,
|
||||||
): Component.Default<P, Effect.Effect.Success<Effect.Effect.AsEffect<B>>, Effect.Effect.Error<B>, Effect.Effect.Context<B>>
|
): Component.Default<P, Effect.Success<B>, Effect.Error<B>, Effect.Services<B>>
|
||||||
<Eff extends Utils.YieldWrap<Effect.Effect<any, any, any>>, A, B, C extends Effect.Effect<React.ReactNode, any, any>, P extends {} = {}>(
|
<Eff extends Effect.Effect<any, any, any>, A, B, C extends Effect.Effect<React.ReactNode, any, any>, P extends {} = {}>(
|
||||||
body: (props: P) => Generator<Eff, A, never>,
|
body: (props: P) => Generator<Eff, A, never>,
|
||||||
a: (
|
a: (
|
||||||
_: Effect.Effect<
|
_: Effect.Effect<
|
||||||
A,
|
A,
|
||||||
[Eff] extends [never] ? never : [Eff] extends [Utils.YieldWrap<Effect.Effect<infer _A, infer E, infer _R>>] ? E : never,
|
[Eff] extends [never] ? never : [Eff] extends [Effect.Effect<infer _A, infer E, infer _R>] ? E : never,
|
||||||
[Eff] extends [never] ? never : [Eff] extends [Utils.YieldWrap<Effect.Effect<infer _A, infer _E, infer R>>] ? R : never
|
[Eff] extends [never] ? never : [Eff] extends [Effect.Effect<infer _A, infer _E, infer R>] ? R : never
|
||||||
>,
|
>,
|
||||||
props: NoInfer<P>,
|
props: NoInfer<P>,
|
||||||
) => B,
|
) => B,
|
||||||
b: (_: B, props: NoInfer<P>) => C,
|
b: (_: B, props: NoInfer<P>) => C,
|
||||||
): Component.Default<P, Effect.Effect.Success<Effect.Effect.AsEffect<C>>, Effect.Effect.Error<C>, Effect.Effect.Context<C>>
|
): Component.Default<P, Effect.Success<C>, Effect.Error<C>, Effect.Services<C>>
|
||||||
<Eff extends Utils.YieldWrap<Effect.Effect<any, any, any>>, A, B, C, D extends Effect.Effect<React.ReactNode, any, any>, P extends {} = {}>(
|
<Eff extends Effect.Effect<any, any, any>, A, B, C, D extends Effect.Effect<React.ReactNode, any, any>, P extends {} = {}>(
|
||||||
body: (props: P) => Generator<Eff, A, never>,
|
body: (props: P) => Generator<Eff, A, never>,
|
||||||
a: (
|
a: (
|
||||||
_: Effect.Effect<
|
_: Effect.Effect<
|
||||||
A,
|
A,
|
||||||
[Eff] extends [never] ? never : [Eff] extends [Utils.YieldWrap<Effect.Effect<infer _A, infer E, infer _R>>] ? E : never,
|
[Eff] extends [never] ? never : [Eff] extends [Effect.Effect<infer _A, infer E, infer _R>] ? E : never,
|
||||||
[Eff] extends [never] ? never : [Eff] extends [Utils.YieldWrap<Effect.Effect<infer _A, infer _E, infer R>>] ? R : never
|
[Eff] extends [never] ? never : [Eff] extends [Effect.Effect<infer _A, infer _E, infer R>] ? R : never
|
||||||
>,
|
>,
|
||||||
props: NoInfer<P>,
|
props: NoInfer<P>,
|
||||||
) => B,
|
) => B,
|
||||||
b: (_: B, props: NoInfer<P>) => C,
|
b: (_: B, props: NoInfer<P>) => C,
|
||||||
c: (_: C, props: NoInfer<P>) => D,
|
c: (_: C, props: NoInfer<P>) => D,
|
||||||
): Component.Default<P, Effect.Effect.Success<Effect.Effect.AsEffect<D>>, Effect.Effect.Error<D>, Effect.Effect.Context<D>>
|
): Component.Default<P, Effect.Success<D>, Effect.Error<D>, Effect.Services<D>>
|
||||||
<Eff extends Utils.YieldWrap<Effect.Effect<any, any, any>>, A, B, C, D, E extends Effect.Effect<React.ReactNode, any, any>, P extends {} = {}>(
|
<Eff extends Effect.Effect<any, any, any>, A, B, C, D, E extends Effect.Effect<React.ReactNode, any, any>, P extends {} = {}>(
|
||||||
body: (props: P) => Generator<Eff, A, never>,
|
body: (props: P) => Generator<Eff, A, never>,
|
||||||
a: (
|
a: (
|
||||||
_: Effect.Effect<
|
_: Effect.Effect<
|
||||||
A,
|
A,
|
||||||
[Eff] extends [never] ? never : [Eff] extends [Utils.YieldWrap<Effect.Effect<infer _A, infer E, infer _R>>] ? E : never,
|
[Eff] extends [never] ? never : [Eff] extends [Effect.Effect<infer _A, infer E, infer _R>] ? E : never,
|
||||||
[Eff] extends [never] ? never : [Eff] extends [Utils.YieldWrap<Effect.Effect<infer _A, infer _E, infer R>>] ? R : never
|
[Eff] extends [never] ? never : [Eff] extends [Effect.Effect<infer _A, infer _E, infer R>] ? R : never
|
||||||
>,
|
>,
|
||||||
props: NoInfer<P>,
|
props: NoInfer<P>,
|
||||||
) => B,
|
) => B,
|
||||||
b: (_: B, props: NoInfer<P>) => C,
|
b: (_: B, props: NoInfer<P>) => C,
|
||||||
c: (_: C, props: NoInfer<P>) => D,
|
c: (_: C, props: NoInfer<P>) => D,
|
||||||
d: (_: D, props: NoInfer<P>) => E,
|
d: (_: D, props: NoInfer<P>) => E,
|
||||||
): Component.Default<P, Effect.Effect.Success<Effect.Effect.AsEffect<E>>, Effect.Effect.Error<E>, Effect.Effect.Context<E>>
|
): Component.Default<P, Effect.Success<E>, Effect.Error<E>, Effect.Services<E>>
|
||||||
<Eff extends Utils.YieldWrap<Effect.Effect<any, any, any>>, A, B, C, D, E, F extends Effect.Effect<React.ReactNode, any, any>, P extends {} = {}>(
|
<Eff extends Effect.Effect<any, any, any>, A, B, C, D, E, F extends Effect.Effect<React.ReactNode, any, any>, P extends {} = {}>(
|
||||||
body: (props: P) => Generator<Eff, A, never>,
|
body: (props: P) => Generator<Eff, A, never>,
|
||||||
a: (
|
a: (
|
||||||
_: Effect.Effect<
|
_: Effect.Effect<
|
||||||
A,
|
A,
|
||||||
[Eff] extends [never] ? never : [Eff] extends [Utils.YieldWrap<Effect.Effect<infer _A, infer E, infer _R>>] ? E : never,
|
[Eff] extends [never] ? never : [Eff] extends [Effect.Effect<infer _A, infer E, infer _R>] ? E : never,
|
||||||
[Eff] extends [never] ? never : [Eff] extends [Utils.YieldWrap<Effect.Effect<infer _A, infer _E, infer R>>] ? R : never
|
[Eff] extends [never] ? never : [Eff] extends [Effect.Effect<infer _A, infer _E, infer R>] ? R : never
|
||||||
>,
|
>,
|
||||||
props: NoInfer<P>,
|
props: NoInfer<P>,
|
||||||
) => B,
|
) => B,
|
||||||
@@ -226,14 +226,14 @@ export declare namespace make {
|
|||||||
c: (_: C, props: NoInfer<P>) => D,
|
c: (_: C, props: NoInfer<P>) => D,
|
||||||
d: (_: D, props: NoInfer<P>) => E,
|
d: (_: D, props: NoInfer<P>) => E,
|
||||||
e: (_: E, props: NoInfer<P>) => F,
|
e: (_: E, props: NoInfer<P>) => F,
|
||||||
): Component.Default<P, Effect.Effect.Success<Effect.Effect.AsEffect<F>>, Effect.Effect.Error<F>, Effect.Effect.Context<F>>
|
): Component.Default<P, Effect.Success<F>, Effect.Error<F>, Effect.Services<F>>
|
||||||
<Eff extends Utils.YieldWrap<Effect.Effect<any, any, any>>, A, B, C, D, E, F, G extends Effect.Effect<React.ReactNode, any, any>, P extends {} = {}>(
|
<Eff extends Effect.Effect<any, any, any>, A, B, C, D, E, F, G extends Effect.Effect<React.ReactNode, any, any>, P extends {} = {}>(
|
||||||
body: (props: P) => Generator<Eff, A, never>,
|
body: (props: P) => Generator<Eff, A, never>,
|
||||||
a: (
|
a: (
|
||||||
_: Effect.Effect<
|
_: Effect.Effect<
|
||||||
A,
|
A,
|
||||||
[Eff] extends [never] ? never : [Eff] extends [Utils.YieldWrap<Effect.Effect<infer _A, infer E, infer _R>>] ? E : never,
|
[Eff] extends [never] ? never : [Eff] extends [Effect.Effect<infer _A, infer E, infer _R>] ? E : never,
|
||||||
[Eff] extends [never] ? never : [Eff] extends [Utils.YieldWrap<Effect.Effect<infer _A, infer _E, infer R>>] ? R : never
|
[Eff] extends [never] ? never : [Eff] extends [Effect.Effect<infer _A, infer _E, infer R>] ? R : never
|
||||||
>,
|
>,
|
||||||
props: NoInfer<P>,
|
props: NoInfer<P>,
|
||||||
) => B,
|
) => B,
|
||||||
@@ -242,14 +242,14 @@ export declare namespace make {
|
|||||||
d: (_: D, props: NoInfer<P>) => E,
|
d: (_: D, props: NoInfer<P>) => E,
|
||||||
e: (_: E, props: NoInfer<P>) => F,
|
e: (_: E, props: NoInfer<P>) => F,
|
||||||
f: (_: F, props: NoInfer<P>) => G,
|
f: (_: F, props: NoInfer<P>) => G,
|
||||||
): Component.Default<P, Effect.Effect.Success<Effect.Effect.AsEffect<G>>, Effect.Effect.Error<G>, Effect.Effect.Context<G>>
|
): Component.Default<P, Effect.Success<G>, Effect.Error<G>, Effect.Services<G>>
|
||||||
<Eff extends Utils.YieldWrap<Effect.Effect<any, any, any>>, A, B, C, D, E, F, G, H extends Effect.Effect<React.ReactNode, any, any>, P extends {} = {}>(
|
<Eff extends Effect.Effect<any, any, any>, A, B, C, D, E, F, G, H extends Effect.Effect<React.ReactNode, any, any>, P extends {} = {}>(
|
||||||
body: (props: P) => Generator<Eff, A, never>,
|
body: (props: P) => Generator<Eff, A, never>,
|
||||||
a: (
|
a: (
|
||||||
_: Effect.Effect<
|
_: Effect.Effect<
|
||||||
A,
|
A,
|
||||||
[Eff] extends [never] ? never : [Eff] extends [Utils.YieldWrap<Effect.Effect<infer _A, infer E, infer _R>>] ? E : never,
|
[Eff] extends [never] ? never : [Eff] extends [Effect.Effect<infer _A, infer E, infer _R>] ? E : never,
|
||||||
[Eff] extends [never] ? never : [Eff] extends [Utils.YieldWrap<Effect.Effect<infer _A, infer _E, infer R>>] ? R : never
|
[Eff] extends [never] ? never : [Eff] extends [Effect.Effect<infer _A, infer _E, infer R>] ? R : never
|
||||||
>,
|
>,
|
||||||
props: NoInfer<P>,
|
props: NoInfer<P>,
|
||||||
) => B,
|
) => B,
|
||||||
@@ -259,14 +259,14 @@ export declare namespace make {
|
|||||||
e: (_: E, props: NoInfer<P>) => F,
|
e: (_: E, props: NoInfer<P>) => F,
|
||||||
f: (_: F, props: NoInfer<P>) => G,
|
f: (_: F, props: NoInfer<P>) => G,
|
||||||
g: (_: G, props: NoInfer<P>) => H,
|
g: (_: G, props: NoInfer<P>) => H,
|
||||||
): Component.Default<P, Effect.Effect.Success<Effect.Effect.AsEffect<H>>, Effect.Effect.Error<H>, Effect.Effect.Context<H>>
|
): Component.Default<P, Effect.Success<H>, Effect.Error<H>, Effect.Services<H>>
|
||||||
<Eff extends Utils.YieldWrap<Effect.Effect<any, any, any>>, A, B, C, D, E, F, G, H, I extends Effect.Effect<React.ReactNode, any, any>, P extends {} = {}>(
|
<Eff extends Effect.Effect<any, any, any>, A, B, C, D, E, F, G, H, I extends Effect.Effect<React.ReactNode, any, any>, P extends {} = {}>(
|
||||||
body: (props: P) => Generator<Eff, A, never>,
|
body: (props: P) => Generator<Eff, A, never>,
|
||||||
a: (
|
a: (
|
||||||
_: Effect.Effect<
|
_: Effect.Effect<
|
||||||
A,
|
A,
|
||||||
[Eff] extends [never] ? never : [Eff] extends [Utils.YieldWrap<Effect.Effect<infer _A, infer E, infer _R>>] ? E : never,
|
[Eff] extends [never] ? never : [Eff] extends [Effect.Effect<infer _A, infer E, infer _R>] ? E : never,
|
||||||
[Eff] extends [never] ? never : [Eff] extends [Utils.YieldWrap<Effect.Effect<infer _A, infer _E, infer R>>] ? R : never
|
[Eff] extends [never] ? never : [Eff] extends [Effect.Effect<infer _A, infer _E, infer R>] ? R : never
|
||||||
>,
|
>,
|
||||||
props: NoInfer<P>,
|
props: NoInfer<P>,
|
||||||
) => B,
|
) => B,
|
||||||
@@ -277,14 +277,14 @@ export declare namespace make {
|
|||||||
f: (_: F, props: NoInfer<P>) => G,
|
f: (_: F, props: NoInfer<P>) => G,
|
||||||
g: (_: G, props: NoInfer<P>) => H,
|
g: (_: G, props: NoInfer<P>) => H,
|
||||||
h: (_: H, props: NoInfer<P>) => I,
|
h: (_: H, props: NoInfer<P>) => I,
|
||||||
): Component.Default<P, Effect.Effect.Success<Effect.Effect.AsEffect<I>>, Effect.Effect.Error<I>, Effect.Effect.Context<I>>
|
): Component.Default<P, Effect.Success<I>, Effect.Error<I>, Effect.Services<I>>
|
||||||
<Eff extends Utils.YieldWrap<Effect.Effect<any, any, any>>, A, B, C, D, E, F, G, H, I, J extends Effect.Effect<React.ReactNode, any, any>, P extends {} = {}>(
|
<Eff extends Effect.Effect<any, any, any>, A, B, C, D, E, F, G, H, I, J extends Effect.Effect<React.ReactNode, any, any>, P extends {} = {}>(
|
||||||
body: (props: P) => Generator<Eff, A, never>,
|
body: (props: P) => Generator<Eff, A, never>,
|
||||||
a: (
|
a: (
|
||||||
_: Effect.Effect<
|
_: Effect.Effect<
|
||||||
A,
|
A,
|
||||||
[Eff] extends [never] ? never : [Eff] extends [Utils.YieldWrap<Effect.Effect<infer _A, infer E, infer _R>>] ? E : never,
|
[Eff] extends [never] ? never : [Eff] extends [Effect.Effect<infer _A, infer E, infer _R>] ? E : never,
|
||||||
[Eff] extends [never] ? never : [Eff] extends [Utils.YieldWrap<Effect.Effect<infer _A, infer _E, infer R>>] ? R : never
|
[Eff] extends [never] ? never : [Eff] extends [Effect.Effect<infer _A, infer _E, infer R>] ? R : never
|
||||||
>,
|
>,
|
||||||
props: NoInfer<P>,
|
props: NoInfer<P>,
|
||||||
) => B,
|
) => B,
|
||||||
@@ -296,35 +296,35 @@ export declare namespace make {
|
|||||||
g: (_: G, props: NoInfer<P>) => H,
|
g: (_: G, props: NoInfer<P>) => H,
|
||||||
h: (_: H, props: NoInfer<P>) => I,
|
h: (_: H, props: NoInfer<P>) => I,
|
||||||
i: (_: I, props: NoInfer<P>) => J,
|
i: (_: I, props: NoInfer<P>) => J,
|
||||||
): Component.Default<P, Effect.Effect.Success<Effect.Effect.AsEffect<J>>, Effect.Effect.Error<J>, Effect.Effect.Context<J>>
|
): Component.Default<P, Effect.Success<J>, Effect.Error<J>, Effect.Services<J>>
|
||||||
}
|
}
|
||||||
|
|
||||||
export type NonGen = {
|
export type NonGen = {
|
||||||
<Eff extends Effect.Effect<React.ReactNode, any, any>, P extends {} = {}>(
|
<Eff extends Effect.Effect<React.ReactNode, any, any>, P extends {} = {}>(
|
||||||
body: (props: P) => Eff
|
body: (props: P) => Eff
|
||||||
): Component.Default<P, Effect.Effect.Success<Effect.Effect.AsEffect<Eff>>, Effect.Effect.Error<Eff>, Effect.Effect.Context<Eff>>
|
): Component.Default<P, Effect.Success<Eff>, Effect.Error<Eff>, Effect.Services<Eff>>
|
||||||
<Eff extends Effect.Effect<React.ReactNode, any, any>, A, P extends {} = {}>(
|
<Eff extends Effect.Effect<React.ReactNode, any, any>, A, P extends {} = {}>(
|
||||||
body: (props: P) => A,
|
body: (props: P) => A,
|
||||||
a: (_: A, props: NoInfer<P>) => Eff,
|
a: (_: A, props: NoInfer<P>) => Eff,
|
||||||
): Component.Default<P, Effect.Effect.Success<Effect.Effect.AsEffect<Eff>>, Effect.Effect.Error<Eff>, Effect.Effect.Context<Eff>>
|
): Component.Default<P, Effect.Success<Eff>, Effect.Error<Eff>, Effect.Services<Eff>>
|
||||||
<Eff extends Effect.Effect<React.ReactNode, any, any>, A, B, P extends {} = {}>(
|
<Eff extends Effect.Effect<React.ReactNode, any, any>, A, B, P extends {} = {}>(
|
||||||
body: (props: P) => A,
|
body: (props: P) => A,
|
||||||
a: (_: A, props: NoInfer<P>) => B,
|
a: (_: A, props: NoInfer<P>) => B,
|
||||||
b: (_: B, props: NoInfer<P>) => Eff,
|
b: (_: B, props: NoInfer<P>) => Eff,
|
||||||
): Component.Default<P, Effect.Effect.Success<Effect.Effect.AsEffect<Eff>>, Effect.Effect.Error<Eff>, Effect.Effect.Context<Eff>>
|
): Component.Default<P, Effect.Success<Eff>, Effect.Error<Eff>, Effect.Services<Eff>>
|
||||||
<Eff extends Effect.Effect<React.ReactNode, any, any>, A, B, C, P extends {} = {}>(
|
<Eff extends Effect.Effect<React.ReactNode, any, any>, A, B, C, P extends {} = {}>(
|
||||||
body: (props: P) => A,
|
body: (props: P) => A,
|
||||||
a: (_: A, props: NoInfer<P>) => B,
|
a: (_: A, props: NoInfer<P>) => B,
|
||||||
b: (_: B, props: NoInfer<P>) => C,
|
b: (_: B, props: NoInfer<P>) => C,
|
||||||
c: (_: C, props: NoInfer<P>) => Eff,
|
c: (_: C, props: NoInfer<P>) => Eff,
|
||||||
): Component.Default<P, Effect.Effect.Success<Effect.Effect.AsEffect<Eff>>, Effect.Effect.Error<Eff>, Effect.Effect.Context<Eff>>
|
): Component.Default<P, Effect.Success<Eff>, Effect.Error<Eff>, Effect.Services<Eff>>
|
||||||
<Eff extends Effect.Effect<React.ReactNode, any, any>, A, B, C, D, P extends {} = {}>(
|
<Eff extends Effect.Effect<React.ReactNode, any, any>, A, B, C, D, P extends {} = {}>(
|
||||||
body: (props: P) => A,
|
body: (props: P) => A,
|
||||||
a: (_: A, props: NoInfer<P>) => B,
|
a: (_: A, props: NoInfer<P>) => B,
|
||||||
b: (_: B, props: NoInfer<P>) => C,
|
b: (_: B, props: NoInfer<P>) => C,
|
||||||
c: (_: C, props: NoInfer<P>) => D,
|
c: (_: C, props: NoInfer<P>) => D,
|
||||||
d: (_: D, props: NoInfer<P>) => Eff,
|
d: (_: D, props: NoInfer<P>) => Eff,
|
||||||
): Component.Default<P, Effect.Effect.Success<Effect.Effect.AsEffect<Eff>>, Effect.Effect.Error<Eff>, Effect.Effect.Context<Eff>>
|
): Component.Default<P, Effect.Success<Eff>, Effect.Error<Eff>, Effect.Services<Eff>>
|
||||||
<Eff extends Effect.Effect<React.ReactNode, any, any>, A, B, C, D, E, P extends {} = {}>(
|
<Eff extends Effect.Effect<React.ReactNode, any, any>, A, B, C, D, E, P extends {} = {}>(
|
||||||
body: (props: P) => A,
|
body: (props: P) => A,
|
||||||
a: (_: A, props: NoInfer<P>) => B,
|
a: (_: A, props: NoInfer<P>) => B,
|
||||||
@@ -332,7 +332,7 @@ export declare namespace make {
|
|||||||
c: (_: C, props: NoInfer<P>) => D,
|
c: (_: C, props: NoInfer<P>) => D,
|
||||||
d: (_: D, props: NoInfer<P>) => E,
|
d: (_: D, props: NoInfer<P>) => E,
|
||||||
e: (_: E, props: NoInfer<P>) => Eff,
|
e: (_: E, props: NoInfer<P>) => Eff,
|
||||||
): Component.Default<P, Effect.Effect.Success<Effect.Effect.AsEffect<Eff>>, Effect.Effect.Error<Eff>, Effect.Effect.Context<Eff>>
|
): Component.Default<P, Effect.Success<Eff>, Effect.Error<Eff>, Effect.Services<Eff>>
|
||||||
<Eff extends Effect.Effect<React.ReactNode, any, any>, A, B, C, D, E, F, P extends {} = {}>(
|
<Eff extends Effect.Effect<React.ReactNode, any, any>, A, B, C, D, E, F, P extends {} = {}>(
|
||||||
body: (props: P) => A,
|
body: (props: P) => A,
|
||||||
a: (_: A, props: NoInfer<P>) => B,
|
a: (_: A, props: NoInfer<P>) => B,
|
||||||
@@ -341,7 +341,7 @@ export declare namespace make {
|
|||||||
d: (_: D, props: NoInfer<P>) => E,
|
d: (_: D, props: NoInfer<P>) => E,
|
||||||
e: (_: E, props: NoInfer<P>) => F,
|
e: (_: E, props: NoInfer<P>) => F,
|
||||||
f: (_: F, props: NoInfer<P>) => Eff,
|
f: (_: F, props: NoInfer<P>) => Eff,
|
||||||
): Component.Default<P, Effect.Effect.Success<Effect.Effect.AsEffect<Eff>>, Effect.Effect.Error<Eff>, Effect.Effect.Context<Eff>>
|
): Component.Default<P, Effect.Success<Eff>, Effect.Error<Eff>, Effect.Services<Eff>>
|
||||||
<Eff extends Effect.Effect<React.ReactNode, any, any>, A, B, C, D, E, F, G, P extends {} = {}>(
|
<Eff extends Effect.Effect<React.ReactNode, any, any>, A, B, C, D, E, F, G, P extends {} = {}>(
|
||||||
body: (props: P) => A,
|
body: (props: P) => A,
|
||||||
a: (_: A, props: NoInfer<P>) => B,
|
a: (_: A, props: NoInfer<P>) => B,
|
||||||
@@ -351,7 +351,7 @@ export declare namespace make {
|
|||||||
e: (_: E, props: NoInfer<P>) => F,
|
e: (_: E, props: NoInfer<P>) => F,
|
||||||
f: (_: F, props: NoInfer<P>) => G,
|
f: (_: F, props: NoInfer<P>) => G,
|
||||||
g: (_: G, props: NoInfer<P>) => Eff,
|
g: (_: G, props: NoInfer<P>) => Eff,
|
||||||
): Component.Default<P, Effect.Effect.Success<Effect.Effect.AsEffect<Eff>>, Effect.Effect.Error<Eff>, Effect.Effect.Context<Eff>>
|
): Component.Default<P, Effect.Success<Eff>, Effect.Error<Eff>, Effect.Services<Eff>>
|
||||||
<Eff extends Effect.Effect<React.ReactNode, any, any>, A, B, C, D, E, F, G, H, P extends {} = {}>(
|
<Eff extends Effect.Effect<React.ReactNode, any, any>, A, B, C, D, E, F, G, H, P extends {} = {}>(
|
||||||
body: (props: P) => A,
|
body: (props: P) => A,
|
||||||
a: (_: A, props: NoInfer<P>) => B,
|
a: (_: A, props: NoInfer<P>) => B,
|
||||||
@@ -362,7 +362,7 @@ export declare namespace make {
|
|||||||
f: (_: F, props: NoInfer<P>) => G,
|
f: (_: F, props: NoInfer<P>) => G,
|
||||||
g: (_: G, props: NoInfer<P>) => H,
|
g: (_: G, props: NoInfer<P>) => H,
|
||||||
h: (_: H, props: NoInfer<P>) => Eff,
|
h: (_: H, props: NoInfer<P>) => Eff,
|
||||||
): Component.Default<P, Effect.Effect.Success<Effect.Effect.AsEffect<Eff>>, Effect.Effect.Error<Eff>, Effect.Effect.Context<Eff>>
|
): Component.Default<P, Effect.Success<Eff>, Effect.Error<Eff>, Effect.Services<Eff>>
|
||||||
<Eff extends Effect.Effect<React.ReactNode, any, any>, A, B, C, D, E, F, G, H, I, P extends {} = {}>(
|
<Eff extends Effect.Effect<React.ReactNode, any, any>, A, B, C, D, E, F, G, H, I, P extends {} = {}>(
|
||||||
body: (props: P) => A,
|
body: (props: P) => A,
|
||||||
a: (_: A, props: NoInfer<P>) => B,
|
a: (_: A, props: NoInfer<P>) => B,
|
||||||
@@ -374,7 +374,7 @@ export declare namespace make {
|
|||||||
g: (_: G, props: NoInfer<P>) => H,
|
g: (_: G, props: NoInfer<P>) => H,
|
||||||
h: (_: H, props: NoInfer<P>) => I,
|
h: (_: H, props: NoInfer<P>) => I,
|
||||||
i: (_: I, props: NoInfer<P>) => Eff,
|
i: (_: I, props: NoInfer<P>) => Eff,
|
||||||
): Component.Default<P, Effect.Effect.Success<Effect.Effect.AsEffect<Eff>>, Effect.Effect.Error<Eff>, Effect.Effect.Context<Eff>>
|
): Component.Default<P, Effect.Success<Eff>, Effect.Error<Eff>, Effect.Services<Eff>>
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user