Effect CommunityEC
Effect Community7mo ago
5 replies
Aldwin

Extracting Endpoint Params Type from `HttpApi` in Effect Typescript Library

Given an HttpApi, is there an easy way to extract a specific endpoint's params type? My goal is to extract the handler function in handlers.handle("endpoint", handler) to a separate module, but I don't like having to rebuild the whole type.
Was this page helpful?