Type error related to missing `[TypeId]` in `RpcRouter` constraint

Rpc server is out of errors but now my client is complaining with:

TS2344: Type RpcRouter<GetById, StatusPagesContext> does not satisfy the constraint RpcRouter<any, any>
Property [TypeId] is missing in type RpcRouter<GetById, StatusPagesContext> but required in type RpcRouter<any, any>
RpcRouter.d.ts(28, 14): [TypeId] is declared here.


client code:

import * as Resolver from '@effect/rpc-http/HttpRpcResolverNoStream';

export const rpcClient = Resolver.makeClient<AppRouter>('/api/rpc/');


Haven't seen any TypeId in any of the exanples.
Was this page helpful?