@grpc.ts/nestjs-client
Version:
NestJS package for client
7 lines (6 loc) • 370 B
TypeScript
import { type Provider, type DynamicModule } from '@nestjs/common';
import type { IGrpcClientProps, IGrpcClientListProps } from '@grpc.ts/core/lib/interface';
export declare class GrpcClient {
static register(options: IGrpcClientProps | IGrpcClientProps[]): Promise<DynamicModule>;
protected static _createProviders(clients: IGrpcClientListProps): Provider[];
}