You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The generated typescript source of responseDeserializeFn in GetUserResponse is
deserializeBinary(bytes: Uint8Array): GetUserResponse;
But the responseDeserializeFn function in AbstractClientBase.MethodInfo is
responseDeserializeFn: (bytes: {}) => Response);
bytes:Uint8Array against the bytes: {}
grpc-web version is 1.0.4
typescript version is 3.4.5
error message
Argument of type '(bytes: Uint8Array) => GetUserResponse' is not assignable to parameter of type '(bytes: {}) => GetUserResponse'.
Types of parameters 'bytes' and 'bytes' are incompatible.
Type '{}' is missing the following properties from type 'Uint8Array': BYTES_PER_ELEMENT, buffer, byteLength, byteOffset, and 26 more.
Problem detail
The generated typescript source of responseDeserializeFn in GetUserResponse is
deserializeBinary(bytes: Uint8Array): GetUserResponse;
But the responseDeserializeFn function in AbstractClientBase.MethodInfo is
responseDeserializeFn: (bytes: {}) => Response);
bytes:Uint8Array against the bytes: {}
grpc-web version is 1.0.4
typescript version is 3.4.5
error message
proto file
generate command
AccountServiceClientPb.ts
account_pb.d.ts
dts file of grpc-web
The text was updated successfully, but these errors were encountered: