Update server-call.ts

Fix TS2345
This commit is contained in:
Rafael Santos 2023-09-29 15:44:42 +01:00 committed by GitHub
parent 7e53472048
commit 974b235a04
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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;