UNPKG

@grpc.ts/fastify-client

Version:
8 lines (7 loc) 298 B
import type { ServiceClient } from '@grpc.ts/core'; interface IGetServiceOptionsProps { clientName?: string; packageName?: string; } export type TGetServiceFunc = <T extends ServiceClient = ServiceClient>(serviceName: string, options?: IGetServiceOptionsProps) => T | undefined; export {};