Open onthegit opened 3 years ago
Os: Linux Fedora
Blog.proto:
syntax = "proto3";
message GetPostIn {
string Path =1;
}
message GetPostRet {
bool Success=1;
string Msg=2;
string Post=3;
}
service BlogService {
rpc GetPost(GetPostIn) returns(GetPostRet);
}
I'm getting this same issue.. the ProtoName_grpc_pb.js
and ProtoName_pb.js
files are getting generated but then only a single ProtoName.ts
file
wow nvm... it was because I was using protoc-gen-ts
and not ts-protoc-gen
. 🤦♂️
I was experiencing the same issue. thanks
Hello,
when I run the following command protoc --plugin=protoc-gen-ts=/usr/local/bin/protoc-gen-ts --js_out=import_style=commonjs,binary:. --ts_out=service=grpc-web:. -I=. blog.proto
only two files are generated: blog_pb.js blog.ts
there are no d.ts files generated. protoc is v3.14.0 protoc-gen-ts is 0.3.9