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. 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?
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?