Skip to content
Draft
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions example/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Generation

Built generator plugin:

`bazel build generator:protoc-gen-js`

then:

`protoc --plugin=protoc-gen-js=bazel-bin/generator/protoc-gen-js --proto_path=protos --js_out=library=example/test,import_style=es6,generate_dts,binary:. protos/test.proto`

Generated both `example/test.js` with ES6-style imports/exports and `example/test.d.ts` with TypeScript definitions.
1,013 changes: 1,013 additions & 0 deletions example/test.d.ts

Large diffs are not rendered by default.

Loading