From 974b235a04b6df4b070e693a6d2aefa8449f0c98 Mon Sep 17 00:00:00 2001 From: Rafael Santos Date: Fri, 29 Sep 2023 15:44:42 +0100 Subject: [PATCH] Update server-call.ts Fix TS2345 --- packages/grpc-js/src/server-call.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/grpc-js/src/server-call.ts b/packages/grpc-js/src/server-call.ts index 95f928350..107c2e3ef 100644 --- a/packages/grpc-js/src/server-call.ts +++ b/packages/grpc-js/src/server-call.ts @@ -558,7 +558,7 @@ export class Http2ServerCallStream< return metadata; } - receiveUnaryMessage(encoding: string): Promise { + receiveUnaryMessage(encoding: string): Promise { return new Promise((resolve, reject) => { const { stream } = this;