Skip to content

Commit ea02912

Browse files
committed
fix(build-grpc): *_pb.d.ts should base on package @grpc/grpc-js not grpc
1 parent 8eab134 commit ea02912

File tree

8 files changed

+2299
-1421
lines changed

8 files changed

+2299
-1421
lines changed

build-grpc.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ generateGrpc() {
7979
--plugin="protoc-gen-ts=${PROTOC_GEN_TS_PATH}" \
8080
--plugin=protoc-gen-grpc=${PROTOC_GEN_GRPC_PATH} \
8181
--js_out="import_style=commonjs,binary:$PATH_PROTO" \
82-
--ts_out="service=grpc-node,mode=grpc-js:$PATH_PROTO" \
82+
--ts_out="grpc_js:$PATH_PROTO" \
8383
--grpc_out="grpc_js:$PATH_PROTO" \
8484
"$PATH_PROTO/$PATH_FILE"
8585
}

0 commit comments

Comments
 (0)