RPC `Service<mysvc>` type doesn't have RPC method properties
I'm trying to declare my RPC service like so, but never get type safety on the RPC methods.
It errors with
Am I doing something wrong?
ACCOUNTS_SERVICE: Service<import("@mymonorepo/services").AccountsService>;It errors with
Property 'myMethod' does not exist on type '{ fetch(input: RequestInfo | URL, init?: RequestInit<CfProperties<unknown>> | undefined): Promise<Response>; connect(address: string | SocketAddress, options?: SocketOptions | undefined): Socket; }'.ts(2339)Am I doing something wrong?
