mirror of
https://github.com/nestjs/nest.git
synced 2026-02-21 23:11:44 +00:00
sample: update grpc client options type
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
import { ReflectionService } from '@grpc/reflection';
|
||||
import { ClientOptions, Transport } from '@nestjs/microservices';
|
||||
import { GrpcOptions, Transport } from '@nestjs/microservices';
|
||||
import { join } from 'path';
|
||||
|
||||
export const grpcClientOptions: ClientOptions = {
|
||||
export const grpcClientOptions: GrpcOptions = {
|
||||
transport: Transport.GRPC,
|
||||
options: {
|
||||
package: 'hero', // ['hero', 'hero2']
|
||||
|
||||
Reference in New Issue
Block a user