Skip to content

Commit

Permalink
fix rpc HttpRouterNoStream return types
Browse files Browse the repository at this point in the history
  • Loading branch information
tim-smart committed Apr 9, 2024
1 parent d568760 commit a35b3a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/rpc-http/src/HttpRouterNoStream.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ import * as Effect from "effect/Effect"
* @category conversions
*/
export const toHttpApp = <R extends Router.Router<any, any>>(self: R): App.Default<
Router.Router.Context<R>,
ServerError.RequestError | ParseError
ServerError.RequestError | ParseError,
Router.Router.Context<R>
> => {
const handler = Router.toHandlerEffect(self)
return ServerRequest.ServerRequest.pipe(
Expand Down

0 comments on commit a35b3a7

Please sign in to comment.