Skip to content
This repository was archived by the owner on Dec 23, 2025. It is now read-only.

Conversation

@afsalthaj
Copy link
Contributor

If I remember correctly, John when preparing for no-sql db implementation using types-script had some difficulty in understanding the name of the return type of CounterAgent.get(this.name) which was WithRemoteMethods<CounterAgent>.

Probably I named it like that because in the beginning it's type was just CounterAgent itself and once I added trigger and schedule we needed it to be "wrapper" type with just these extra methods, and went for WithRemoteMethods<CounterAgent>.

Anyway! Client<CounterAgent> is closer to CounterAgentClient in Rust. And more understandable

image

Base automatically changed from fix_result_type to main December 17, 2025 07:15
@vigoo vigoo merged commit f59bc16 into main Dec 17, 2025
2 checks passed
@vigoo vigoo deleted the rename_with_remote_method branch December 17, 2025 07:17
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants