@Kevin W does itty-durable "just work" when it comes to types?
@Kevin W does itty-durable "just work" when it comes to types?
npm i trpc-durable-objects. There are no other projects in the npm registry using trpc-durable-objects.
COUNTER.get('myCounter').currentValue() be typed as a number if the DO method returns a number?as ReturnType<typeof Counter.currentValue>Pick magic so it only exposes router methodsisValidMethod except for fetchnpm i trpc-durable-objectsCOUNTER.get('myCounter').currentValue()as ReturnType<typeof Counter.currentValue>PickisValidMethod