@connectrpc/connect-query
Version:
TypeScript-first expansion pack for TanStack Query that gives you Protobuf superpowers.
6 lines • 354 B
TypeScript
import type { Message, MethodInfoUnary, ServiceType } from "@bufbuild/protobuf";
/** Defines a standalone method and associated service */
export type MethodUnaryDescriptor<I extends Message<I>, O extends Message<O>> = MethodInfoUnary<I, O> & {
readonly service: Omit<ServiceType, "methods">;
};
//# sourceMappingURL=method-unary-descriptor.d.ts.map