Protoc compiler for TypeScript service interfaces
$ npm install --save @mean-expert/protoc-ts
protoc
with:--plugin
- define where the plugin needed for ts_out
can be found--ts_out
- the params and directory to output togenerated
- output directory name-I
- Protos root directoryprotoc \
--plugin=protoc-ts=./node_modules/.bin/protoc-ts \
--ts_out=service=true:generated \
-I ./proto \
proto/*.proto