Type Error in Effect-TS RPC-HTTP Router Example

I'm getting a type error when attempting to use the sample here: https://github.com/Effect-TS/effect/blob/main/packages/rpc-http/examples/router.ts

Argument of type 'Router<GetUserIds, never>' is not assignable to parameter of type 'Router<any, any>'.
  Property '[TypeId]' is missing in type 'Router<GetUserIds, never>' but required in type 'Router<any, any>'.ts(2345)
Router.d.ts(32, 14): '[TypeId]' is declared here.


➜  bun pm ls | grep effect
├── @effect/platform@0.59.2
├── @effect/rpc@0.32.2
├── @effect/rpc-http@0.30.2
├── @effect/schema@0.68.26
├── effect@3.5.6
Was this page helpful?