/grpc-js-types

Generate gRPC TypeScript definitions for use with gRPC (@grpc/grpc-js).

gRPC TypeScript

This repo shows how to use gRPC with TypeScript.

In all cases, @grpc/grpc-js is used as grpc is now effectively deprecated.

TypeScript types are generated at build time from the proto files using different tools as demonstrated in this repo.

Examples

Each example is a separate application. Refer to the README in each project for more information.

Type Parity

Thanks to this issue being fixed, we now have type parity across the different type generator packages. 🎉

Contributions

These are the various contributions I made to help with gRPC & TypeScript support: