Skip to content

Commit 974b235

Browse files
authored
Update server-call.ts
Fix TS2345
1 parent 7e53472 commit 974b235

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/grpc-js/src/server-call.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -558,7 +558,7 @@ export class Http2ServerCallStream<
558558
return metadata;
559559
}
560560

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

0 commit comments

Comments
 (0)