The command CLI tool for generate the d.ts
type typescript declaration.
yarn global add proto-type-generator // yarn
npm i -g proto-type-generator // npm
pnpm install -g proto-type-generator // pnpm
Generate the current .proto
file to the d.ts
.
With no params, generate the current dictionary proto file to the ./out.
proto-type -t ./out -i input.proto
proto-type // use the default params