UNPKG

@grpc.ts/nestjs-client

Version:
7 lines (6 loc) 370 B
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[]; }