Skip to content

Commit

Permalink
Update server-call.ts
Browse files Browse the repository at this point in the history
Fix TS2345
  • Loading branch information
rsnullptr authored Sep 29, 2023
1 parent 7e53472 commit 974b235
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/grpc-js/src/server-call.ts
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,7 @@ export class Http2ServerCallStream<
return metadata;
}

receiveUnaryMessage(encoding: string): Promise<RequestType | void> {
receiveUnaryMessage(encoding: string): Promise<RequestType> {
return new Promise((resolve, reject) => {
const { stream } = this;

Expand Down

0 comments on commit 974b235

Please # to comment.