@@ -201,31 +201,31 @@ export class MockGatewayGrpcClient implements GatewayGrpcClient {
201201 }
202202
203203 mockCommitStatusError ( err : grpc . ServiceError ) : void {
204- this . #commitStatusMock. mockImplementation ( fakeUnaryCall ( err , undefined ) ) ;
204+ this . #commitStatusMock. mockImplementation ( fakeUnaryCall < gateway . CommitStatusResponse > ( err , undefined ) ) ;
205205 }
206206
207207 mockEndorseResponse ( response : gateway . EndorseResponse ) : void {
208208 this . #endorseMock. mockImplementation ( fakeUnaryCall ( undefined , response ) ) ;
209209 }
210210
211211 mockEndorseError ( err : grpc . ServiceError ) : void {
212- this . #endorseMock. mockImplementation ( fakeUnaryCall ( err , undefined ) ) ;
212+ this . #endorseMock. mockImplementation ( fakeUnaryCall < gateway . EndorseResponse > ( err , undefined ) ) ;
213213 }
214214
215215 mockEvaluateResponse ( response : gateway . EvaluateResponse ) : void {
216216 this . #evaluateMock. mockImplementation ( fakeUnaryCall ( undefined , response ) ) ;
217217 }
218218
219219 mockEvaluateError ( err : grpc . ServiceError ) : void {
220- this . #evaluateMock. mockImplementation ( fakeUnaryCall ( err , undefined ) ) ;
220+ this . #evaluateMock. mockImplementation ( fakeUnaryCall < gateway . EvaluateResponse > ( err , undefined ) ) ;
221221 }
222222
223223 mockSubmitResponse ( response : gateway . SubmitResponse ) : void {
224224 this . #submitMock. mockImplementation ( fakeUnaryCall ( undefined , response ) ) ;
225225 }
226226
227227 mockSubmitError ( err : grpc . ServiceError ) : void {
228- this . #submitMock. mockImplementation ( fakeUnaryCall ( err , undefined ) ) ;
228+ this . #submitMock. mockImplementation ( fakeUnaryCall < gateway . SubmitResponse > ( err , undefined ) ) ;
229229 }
230230
231231 mockChaincodeEventsResponse ( stream : ServerStreamResponse < gateway . ChaincodeEventsResponse > ) : void {
0 commit comments