feat: add ts-proto for new TypeScript SDK
This commit is contained in:
@@ -73,6 +73,20 @@ References:
|
||||
|
||||
Run:
|
||||
|
||||
For generating TypeScript client code with `ts-proto`, run:
|
||||
|
||||
```shell
|
||||
invoke gen -t ts
|
||||
```
|
||||
|
||||
For generating TypeScript definitions to be used with `@grpc/proto-loader`, run:
|
||||
|
||||
```shell
|
||||
invoke gen -t types
|
||||
```
|
||||
|
||||
Others:
|
||||
|
||||
```shell
|
||||
./scripts/gen [-a, --async] [go] [gohttp] [nodejs] [docs]
|
||||
```
|
||||
@@ -82,12 +96,6 @@ Run:
|
||||
Use `-a` or `--async` to speed up generation by asynchronously and concurrently generating all code and documentation (
|
||||
script will exit without waiting for completion)
|
||||
|
||||
For generating TypeScript definitions to be used with `@grpc/proto-loader`, run:
|
||||
|
||||
```shell
|
||||
invoke gen -t types
|
||||
```
|
||||
|
||||
#### Generateing documentation
|
||||
|
||||
Install Go then run:
|
||||
|
||||
Reference in New Issue
Block a user