Skip to content
No description, website, or topics provided.
Go
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
plugin/src
.gitignore
LICENSE
README.md

README.md

protoc-gen-tsi

Generate TypeScript Interface from Protocol Buffers.

Build

go build plugin/src/protoc-gen-tsi.go

Usage

protoc --plugin="protoc-gen-tsi=protoc-gen-tsi" --tsi_out="./output" input1.proto input2.proto inputN.proto

Generate interface only.

protoc --plugin="protoc-gen-tsi=protoc-gen-tsi" --tsi_out="client=false:./output" input1.proto input2.proto inputN.proto

Unuse optional.

protoc --plugin="protoc-gen-tsi=protoc-gen-tsi" --tsi_out="nonull=true:./output" input1.proto input2.proto inputN.proto

License

MIT

You can’t perform that action at this time.