Skip to content

Commit 1b185bc

Browse files
committed
tmp
1 parent ef483b1 commit 1b185bc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

api/src/lib/handler.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import type { Effect, Layer, S } from "effect-app"
22
import type { TaggedRequestClassAny } from "effect-app/client"
33

44
// TODO
5-
export declare const handlerFor: <Req extends TaggedRequestClassAny>(
5+
export const handlerFor: <Req extends TaggedRequestClassAny>(
66
r: Req
77
) => {
88
// TODO: constrain L to be strict; only layers that are used in effect, or the other way around
@@ -18,4 +18,4 @@ export declare const handlerFor: <Req extends TaggedRequestClassAny>(
1818
effect: Effect<Effect<S.Schema.Type<Req["success"]>, E2, R2>, E, R>
1919
}
2020
): typeof hndlr
21-
} // TODO: as Layer?
21+
} = (_) => (i) => i // TODO: as Layer?

0 commit comments

Comments
 (0)