Closed heggi closed 2 years ago
Thanks so much for the bug report!
I'll take a look in the near future! :)
I've taken a look and it seems that the issue is that we forgot to insert a .
between the package name and the enum name here:
I'll send a patch soon thanks :)
Has 2 proto files:
enum.proto
test.proto
Generated code (test_pb.d.ts)
enum_pbDocEnum
must beenum_pb.DocEnum
at 3 placesprotoc version 3.20.1 protoc-grpc-web 1.3.1 run as
protoc --proto_path=./protos --js_out=import_style=commonjs,binary:gen --grpc-web_out=import_style=typescript,mode=grpcwebtext:gen ./protos/*.proto