TypeScript Error When Using `HttpApi.addHttpApi` for API Versioning with Effect
I'm trying out Effect for the first time, I'm trying to build a http server using the
It works fine, but I get a TS error on my run command:
I'm open to suggestions too, I'm pretty sure I'm doing everything wrong, but it's part of learning haha
HTTP API from @effect/platform. I'm trying to create api groups to handle api versioning and I found out that we can't put a group inside another one and after digging through the source code for a few I discovered HttpApi.addHttpApi. I managed to write something like this:It works fine, but I get a TS error on my run command:
I'm open to suggestions too, I'm pretty sure I'm doing everything wrong, but it's part of learning haha
