Skip to content

Commit

Permalink
feat: enable unknown fields for descriptor protos (#479)
Browse files Browse the repository at this point in the history
  • Loading branch information
Vilsol committed Jan 18, 2022
1 parent e677cbb commit 824c996
Show file tree
Hide file tree
Showing 5 changed files with 1,738 additions and 2,013 deletions.
4 changes: 2 additions & 2 deletions protos/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@
protoc \
--plugin=./node_modules/ts-proto/protoc-gen-ts_proto \
--ts_proto_out=. \
--ts_proto_opt=exportCommonSymbols=false \
--ts_proto_opt=exportCommonSymbols=false,unknownFields=true \
./google/protobuf/descriptor.proto \
./google/protobuf/compiler/plugin.proto

./node_modules/.bin/tsc \
./index.ts \
./google/protobuf/descriptor.ts \
./google/protobuf/compiler/plugin.ts \
--outDir dist --declaration
--outDir dist --declaration --downlevelIteration



0 comments on commit 824c996

Please sign in to comment.