Tests
Lint / lint (push) Successful in 11s

This commit is contained in:
Julien Valverdé
2025-07-08 00:36:42 +02:00
parent e3dd2975fe
commit 802297626c
2 changed files with 11 additions and 3 deletions
+2 -2
View File
@@ -179,12 +179,12 @@ export const useFork: {
})
export const useContextSync: {
export const useContext: {
<ROut, E, RIn>(
layer: Layer.Layer<ROut, E, RIn>,
options?: ScopeOptions,
): Effect.Effect<Context.Context<ROut>, E, Exclude<RIn, Scope.Scope>>
} = Effect.fn("useContextSync")(function* <ROut, E, RIn>(
} = Effect.fn("useContext")(function* <ROut, E, RIn>(
layer: Layer.Layer<ROut, E, RIn>,
options?: ScopeOptions,
) {